From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Matthew Denny <mdenny(at)CS(dot)Berkeley(dot)EDU> |
Cc: | pgsql-interfaces(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org |
Subject: | Re: getting OID of INSERTed record in ECPG |
Date: | 2000-04-19 13:54:33 |
Message-ID: | 23202.956152473@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Matthew Denny <mdenny(at)CS(dot)Berkeley(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Nelson Ferreira Junior | 2000-04-19 14:53:17 | Re: Large strings |
Previous Message | Gene Sokolov | 2000-04-19 13:38:45 | ODBC not reporting RI violations. |