From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthew Denny <mdenny@CS.Berkeley.EDU>
Cc: pgsql-interfaces@postgresql.org
Cc: pgsql-novice@postgresql.org
Subject: Re: getting OID of INSERTed record in ECPG
Date: Wed, 19 Apr 2000 09:54:33 -0400
Message-ID: <23202.956152473@sss.pgh.pa.us> (raw)
In-Reply-To: <14589.17214.758887.216706@caracas.CS.Berkeley.EDU>
References: <14587.56388.364036.838765@caracas.CS.Berkeley.EDU>
<14589.17214.758887.216706@caracas.CS.Berkeley.EDU>
Matthew Denny <mdenny@CS.Berkeley.EDU> writes:
> After sending the message below yesterday, I decided to look at the
> source to see where sqlca.sqlerrd[1] gets updated. From what I can
> tell, nowhere in ecpglib.c (or any other file) is sqlca.sqlerrd[1]
> even referenced much less updated. However, the documentation and a
> post to psql-interfaces (appended to the bottom of this email) seems
> to indicate that sqlca.sqlerrd[1] will hold the OID of an INSERTed
> tuple if a single tuple is inserted. Do I have the most up-to-date
> source and binaries? Here's what I have:
The post you quote is from Sep 99, so it's post-6.5.*. The feature
you seek is in 7.0 ...
regards, tom lane
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: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, mdenny@CS.Berkeley.EDU, pgsql-novice@postgresql.org
Subject: Re: getting OID of INSERTed record in ECPG
In-Reply-To: <23202.956152473@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox