Re: getting OID of INSERTed record in ECPG

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: getting OID of INSERTed record in ECPG
Дата
Msg-id 23202.956152473@sss.pgh.pa.us
обсуждение исходный текст
Ответ на getting OID of INSERTed record in ECPG  (Matthew Denny <mdenny@CS.Berkeley.EDU>)
Список 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 по дате отправления:

Предыдущее
От: "Gene Sokolov"
Дата:
Сообщение: ODBC not reporting RI violations.
Следующее
От: Nelson Ferreira Junior
Дата:
Сообщение: Re: Large strings