Return-Path: owner-postman Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id MAA29910 for postgres-redist; Mon, 27 Jun 1994 12:43:02 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199406271943.MAA29910@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from toe.CS.Berkeley.EDU (toe.CS.Berkeley.EDU [128.32.149.117]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id MAA29895 for ; Mon, 27 Jun 1994 12:43:00 -0700 Received: from localhost (hartzell@localhost) by toe.CS.Berkeley.EDU (8.6.4/8.1B) id MAA13330; Mon, 27 Jun 1994 12:46:43 -0700 Date: Mon, 27 Jun 1994 12:46:43 -0700 From: George Hartzell Message-Id: <199406271946.MAA13330@toe.CS.Berkeley.EDU> To: aataneja@cs.mtu.edu (Bruce Taneja.) Cc: postgres@postgres.Berkeley.EDU Subject: Re: " GetAttributeByName " .. In-Reply-To: <9406271910.AA19441@cs.mtu.edu> References: <199406270618.XAA29544@faerie.CS.Berkeley.EDU> <9406271910.AA19441@cs.mtu.edu> Reply-To: hartzell@cs.berkeley.edu (George Hartzell) Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Mon, 27 Jun 94 12:43:02 -0700 Resent-XMts: smtp Bruce Taneja. writes: > > Now why does the GetAttributeByName() work OK w/o the 3rd param. > when running the overpaid(EMP) example in the 8.4.3 section (user manual) > and simply hangs when used w/o the 3rd param in the circle example .. !? In general, if a function takes 3 arguments, and you pass it two, then you really should expect trouble since it's going to go ahead and use some randome system trash as it's third arg. I'm not in a position to go digging around in the source code to find out just what that function does with that arg., but it's not surprising that giving it something meaningless makes it blow up sometimes. g. ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================