Re: COPY (query) TO file

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: COPY (query) TO file
Дата
Msg-id 4481BAE9.4000903@dunslane.net
обсуждение исходный текст
Ответ на Re: COPY (query) TO file  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:

>Greg Stark <gsstark@mit.edu> writes:
>  
>
>>PFC <lists@peufeu.com> writes:
>>    
>>
>>>MySQL already does this for INSERT :
>>>INSERT INTO x (a,b) VALUES (1,2), (3,4), (5,6)...;
>>>      
>>>
>
>
>The above syntax is SQL-standard, so we ought to support it sometime,
>performance benefits or no.  I agree it might be tricky to avoid eating
>an unreasonable amount of memory for a very long list in Postgres :-(
>
>Supporting VALUES only in INSERT would be relatively trivial BTW,
>but the spec actually thinks it should be allowed as a <table spec>
>in FROM ...
>
>    
>  
>

Can we just start with the simple case?

cheers

andrew




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: COPY (query) TO file
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: More thoughts about planner's cost estimates