agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Bruce Taneja. <aataneja@cs.mtu.edu>
To: hartzell@postgres.Berkeley.EDU
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: " GetAttributeByName " ..
Date: Mon, 27 Jun 1994 15:48:30 -0400 (EDT)
Message-ID: <9406271948.AA19597@cs.mtu.edu> (raw)
In-Reply-To: <199406271946.MAA13330@toe.CS.Berkeley.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.
I think your explanation is quite clear and obvious and in fact goes
without saying ..
BUT .. WHY does the user manual do the example in sect.8.4.3. w/o the
3rd param .. ?????? Was that a mistake ??
and what beats me is why did this example work while it failed for the
circle.c ??
Bruce.
==============================================================================
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: aataneja@cs.mtu.edu, hartzell@postgres.Berkeley.EDU
Subject: Re: " GetAttributeByName " ..
In-Reply-To: <9406271948.AA19597@cs.mtu.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