Alvaro Herrera <alvherre@xxxxxxxxxxxxxxxxx> writes: > Tom Allison escribió: >> insert into table(string) values(('one'),('two'),('three')) returning >> idx; >> >> I realize that this is an extension to standard SQL but it sure would >> save me a lot. > You are wrong -- you can do it, but it is not an extension. It is in > the standard. Uh, I don't even see RETURNING as a reserved word in SQL2003. regards, tom lane