insert using select with limit

Поиск
Список
Период
Сортировка
От Theo Kramer
Тема insert using select with limit
Дата
Msg-id 3850DC8D.C412E16C@flame.co.za
обсуждение исходный текст
Ответы Re: [HACKERS] insert using select with limit  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi

Just noticed that limit is ignored when using a select to insert
into a table.

Eg. insert into mytable (f1, f2) select f1, f2 from myothertable limit 10;

selects all records from myothertable.

Using the select with limit on it's own works fine.

Version 6.5.2 on RH6

--------
Regards
Theo


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] FreeBSD problem under heavy load
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: [HACKERS] 6.6 release