From: Sean Davis <sdavis2@mail.nih.gov>
To: lorid <lorid@dri.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: getting back autonumber just inserted
Date: Thu, 3 Feb 2005 17:19:50 -0500
Message-ID: <B878A549-7631-11D9-AFCC-000D933565E8@mail.nih.gov> (raw)
In-Reply-To: <4202A2A3.7070707@dri.edu>
References: <5d14ecf90410162019443dc355@mail.gmail.com>
<4202A2A3.7070707@dri.edu>
On Feb 3, 2005, at 5:16 PM, lorid wrote:
> I could have sworn I kept a copy of prior emails that discussed how to
> get back a value that was just inserted into a autonumber (or in
> postgresql case a sequence number)
>
See here:
http://www.postgresql.org/docs/8.0/interactive/functions-
sequence.html#FUNCTIONS-SEQUENCE-TABLE
Sean
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: sdavis2@mail.nih.gov, lorid@dri.edu
Subject: Re: getting back autonumber just inserted
In-Reply-To: <B878A549-7631-11D9-AFCC-000D933565E8@mail.nih.gov>
References: <5d14ecf90410162019443dc355@mail.gmail.com> <4202A2A3.7070707@dri.edu> <B878A549-7631-11D9-AFCC-000D933565E8@mail.nih.gov>
* 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