Re: Last_Inserted Value - Mailing list pgsql-admin

From Tom Lane
Subject Re: Last_Inserted Value
Date
Msg-id 25557.1017326435@sss.pgh.pa.us
Whole thread Raw
In response to Last_Inserted Value  (Andre Schubert <andre.schubert@km3.de>)
List pgsql-admin
Andre Schubert <andre.schubert@km3.de> writes:
> All three tables use the same sequence to increment their id.
> I want to know if it is possible to find the id of the inserted value of
> foo.

Try "currval".

            regards, tom lane

pgsql-admin by date:

Previous
From: Radoslaw Stachowiak
Date:
Subject: 7.2 timetz/time/current_time improper behaviour report
Next
From: "Gaetano Mendola"
Date:
Subject: Log rotation