Andre Schubert <andre(dot)schubert(at)km3(dot)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