>
>
> Hello.
>
> Zeev Suraski <zeev@php.net> is making some changes to the PostgreSQL code
> in PHP3 so that the Oid is returned in the pg_exec funtion if it is an
> insert.
>
> What is the size of the Oid (unsigned, signed etc) and will it ever be
> zero.
typedef unsigned int Oid;
A zero value for OID is reserved for an Invalid OID. If it returns a
zero, I would pass it back to the application. You may want to call
libpq's PQoidStatus() to get this information. That is a new function
for 6.2.1.
--
Bruce Momjian
maillist@candle.pha.pa.us