On 12/11/2009 9:41 PM, A. Kretschmer wrote: > Hi, > > just to be sure, it is still (8.4) not possible to use RETURNING within an > other INSERT? Not directly, now. However, if I recall correctly in 8.4 you *CAN* use a ... RETURNING statement within an SQL function, and use the results of that in another query. -- Craig Ringer -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general