getting OID of INSERTed record in ECPG

Поиск
Список
Период
Сортировка
От Matthew Denny
Тема getting OID of INSERTed record in ECPG
Дата
Msg-id 14587.56388.364036.838765@caracas.CS.Berkeley.EDU
обсуждение исходный текст
Ответы getting OID of INSERTed record in ECPG  (Matthew Denny <mdenny@CS.Berkeley.EDU>)
Список pgsql-interfaces
Does anyone know how to get the OID of an INSERTed tuple when using
PostgreSQL and ECPG?  The documentation and the mail archives state that the
OID of an INSERTed tuple is placed in sqlca.sqlerrd[1] after the SQL
call.  Although I can get sqlca to return error messages and error
codes reliably in the same program, sqlca.sqlerrd[1] always equals 0
even after a successful insert.  Has anyone had this same problem?
I'm using the Linux binary distribution of PostgreSQL 6.5.3-3.  Any
possible solutions or workarounds would be greatly appreciated.

thanks,
Matt Denny



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Using PGSQL via ODBC from within StarOffice ...
Следующее
От: Nick Rathke
Дата:
Сообщение: Postgresql JDBC errors