Re: \copy command error

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: \copy command error
Дата
Msg-id 20090803184925.GC5407@samason.me.uk
обсуждение исходный текст
Ответ на Re: \copy command error  (erobles <erobles@sensacd.com.mx>)
Список pgsql-general
On Mon, Aug 03, 2009 at 01:18:06PM -0500, erobles wrote:
> Maybe the error is \c   because '\c'   is used to connect  to another
> database.
> try   the same line without '\'  only  :
> copy gisp from d:/projects/gisp/gisp.csv'   delimiters  ',';

\copy is a special command in psql that does a copy from the system that
psql is running in, rather than a normal COPY command that runs on the
server.

I believe \copy is implemented as a COPY FROM STDIN... with psql
automatically piping the data over the connection for you.

--
  Sam  http://samason.me.uk/

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

Предыдущее
От: Nathan Jahnke
Дата:
Сообщение: Privilege problems: access denied on select for owner?
Следующее
От: Sam Mason
Дата:
Сообщение: Re: Privilege problems: access denied on select for owner?