Re: Support for Limit in Update, Insert...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Support for Limit in Update, Insert...
Дата
Msg-id 26926.1126224359@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Support for Limit in Update, Insert...  ("Cristian Prieto" <cristian@clickdiario.com>)
Список pgsql-general
"Cristian Prieto" <cristian@clickdiario.com> writes:
> Would be any future support for limit in update/insert queries? so you =
> could do something like
> update table1 set col1=3Dvalue1 limit 1000;
> would update just the first 1000 rows in the table.

That seems like a spectacularly bad idea, considering that you could
have no guarantees about *which* 1000 rows get updated.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Matthew Peter
Дата:
Сообщение: Re: back references using regex
Следующее
От: "Cristian Prieto"
Дата:
Сообщение: Re: Support for Limit in Update, Insert...