Re: COPY (query) TO file

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: COPY (query) TO file
Дата
Msg-id
4481BAE9.4000903@dunslane.net
Ответ на
Список
Дерево обсуждения
Re: COPY (query) TO file Harald Fuchs <hf0406x@protecting.net>
Re: COPY (query) TO file "Jim C. Nasby" <jnasby@pervasive.com>


Tom Lane wrote:

>Greg Stark  writes:
>  
>
>>PFC  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 
>in FROM ...
>
>	
>  
>

Can we just start with the simple case?

cheers

andrew



В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: COPY (query) TO file
От: Hannu Krosing
Дата:
FAQ