X-Original-To: pgsql-hackers@postgresql.org Received: from mosca.csse.monash.edu.au (mosca.csse.monash.edu.au [130.194.64.67]) by postgresql.org (Postfix) with ESMTP id EED01476032; Mon, 10 Mar 2003 17:03:42 -0500 (EST) Received: from freaky-namuh.com (zephyrus.csse.monash.edu.au [130.194.224.223]) by mosca.csse.monash.edu.au (8.11.6+Sun/8.10.2) with ESMTP id h2AM3XA14422; Tue, 11 Mar 2003 09:03:33 +1100 (EST) Message-ID: <3E6D0C87.8030006@freaky-namuh.com> Date: Tue, 11 Mar 2003 09:07:03 +1100 From: Ashley Cambrell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030101 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Neil Conway Cc: Tom Lane , PostgreSQL Hackers , pgsql-interfaces@postgresql.org Subject: Re: Roadmap for FE/BE protocol redesign References: <19041.1047322279@sss.pgh.pa.us> <3E6D0598.9060503@freaky-namuh.com> <1047333552.357.286.camel@tokyo> In-Reply-To: <1047333552.357.286.camel@tokyo> Content-Type: multipart/alternative; boundary="------------070609020504050205050600" X-Archive-Number: 200303/390 X-Sequence-Number: 36636 This is a multi-part message in MIME format. --------------070609020504050205050600 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Neil Conway wrote: >On Mon, 2003-03-10 at 16:37, Ashley Cambrell wrote: > > >>This would also get around the problem of getting values from newly >>inserted rows (eg PKs) without resorting to OIDs. >> >> > >That's not a problem: ensure that the newly inserted row has a SERIAL >column, and use currval(). > > Ok. I forget about that. Even so, it would still be nice to have a bind like interface... :-) Ashley Cambrell --------------070609020504050205050600 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Neil Conway wrote:
On Mon, 2003-03-10 at 16:37, Ashley Cambrell wrote:
  
This would also get around the problem of getting values from newly 
inserted rows (eg PKs) without resorting to OIDs.
    

That's not a problem: ensure that the newly inserted row has a SERIAL
column, and use currval().
  
Ok.  I forget about that.  Even so, it would still be nice to have a bind like interface... :-)

Ashley Cambrell

--------------070609020504050205050600--