pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Meskes <meskes@postgreSQL.org>
Cc: Andreas Theofilu <theofilu@eunet.at>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] ecpg and getting just assigned serial number
Date: Tue, 14 Sep 1999 16:34:55 -0400
Message-ID: <17306.937341295@sss.pgh.pa.us> (raw)
In-Reply-To: <19990914203223.E5414@gmx.net>

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



view thread (13+ messages)  latest in thread

Message-ID: <17306.937341295@sss.pgh.pa.us>
Permalink:  ../17306.937341295@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17306.937341295@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, meskes@postgreSQL.org, theofilu@eunet.at
  Subject: Re: [INTERFACES] ecpg and getting just assigned serial number
  In-Reply-To: <17306.937341295@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox