Re: getting OID of INSERTed record in ECPG - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: getting OID of INSERTed record in ECPG
Date
Msg-id 23202.956152473@sss.pgh.pa.us
Whole thread Raw
In response to getting OID of INSERTed record in ECPG  (Matthew Denny <mdenny@CS.Berkeley.EDU>)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: "Gene Sokolov"
Date:
Subject: ODBC not reporting RI violations.
Next
From: Nelson Ferreira Junior
Date:
Subject: Re: Large strings