agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: George Hartzell <hartzell@postgres.Berkeley.EDU>
To: Bruce Taneja. <aataneja@cs.mtu.edu>
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: " GetAttributeByName " ..
Date: Mon, 27 Jun 1994 12:46:43 -0700
Message-ID: <199406271946.MAA13330@toe.CS.Berkeley.EDU> (raw)
In-Reply-To: <9406271910.AA19441@cs.mtu.edu>
References: <199406270618.XAA29544@faerie.CS.Berkeley.EDU>
	<9406271910.AA19441@cs.mtu.edu>

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.
==============================================================================



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: hartzell@postgres.Berkeley.EDU, aataneja@cs.mtu.edu
  Subject: Re: " GetAttributeByName " ..
  In-Reply-To: <199406271946.MAA13330@toe.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox