Tom Lane schrieb: > > Andre Schubert <[EMAIL PROTECTED]> 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".
I think i cant use it. because all three tables use the same sequence, and currval gives me the id from the insert of the last table, not of the first one. ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org