Search Postgresql Archives

Re: INSERT ... RETURNING in v8.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux