Re: [INTERFACES] ecpg and getting just assigned serial number

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Meskes <meskes(at)postgreSQL(dot)org>
Cc: Andreas Theofilu <theofilu(at)eunet(dot)at>, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] ecpg and getting just assigned serial number
Date: 1999-09-14 20:34:55
Message-ID: 17306.937341295@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Michael Meskes <meskes(at)postgreSQL(dot)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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ken J. Wright 1999-09-14 21:48:09 Re: [INTERFACES] firewall crashes backend
Previous Message Michael Meskes 1999-09-14 18:32:23 Re: [INTERFACES] ecpg and getting just assigned serial number