Re: Question about COPY command

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Question about COPY command
Дата
Msg-id 49660596.5070001@iol.ie
обсуждение исходный текст
Ответ на Question about COPY command  ("Josh Harrison" <joshques@gmail.com>)
Список pgsql-general
On 08/01/2009 13:39, Josh Harrison wrote:

> What is the difference between copying from 'filename' and copying from 'stdin' ???

You'll see COPY from stdin in pg_dump scripts - when restoring via psql,
the entire input to psql is coming from stdin, so COPY FROM stdin tells
it to expect the data from there also.

COPY FROM <filename> tells it to take the input from an external disk file.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Question about COPY command
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: RCA for MemoryContextAlloc: invalid request size(Known Issue)