Re: [INTERFACES] ecpg and getting just assigned serial number - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [INTERFACES] ecpg and getting just assigned serial number
Date
Msg-id 17306.937341295@sss.pgh.pa.us
Whole thread Raw
In response to Re: [INTERFACES] ecpg and getting just assigned serial number  (Michael Meskes <meskes@postgreSQL.org>)
List pgsql-interfaces
Michael Meskes <meskes@postgreSQL.org> writes:
> After an insert the backend returns the number of records inserted, but does
> it also return the OID or whatever? I'm not sure but since an insert could
> add more than one tuple I doubt that.

If just one record is inserted, then it returns the OID of that record.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] Transaction: Begin, Lock
Next
From: "Ken J. Wright"
Date:
Subject: Re: [INTERFACES] firewall crashes backend