Search Postgresql Archives

Support for Limit in Update, Insert...

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

 



Would be any future support for limit in update/insert queries? so you could do something like
 
update table1 set col1=value1 limit 1000;
 
would update just the first 1000 rows in the table. I've been playing a little with the SPI and I get the SPI already has the support for limit the number of changes or elements in a query (the SPI_execute function).
 
Any comments?
 
Thanks a lot

[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