Re: [ADMIN] PostgreSQL questions - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: [ADMIN] PostgreSQL questions
Date
Msg-id 199805180142.VAA24693@candle.pha.pa.us
Whole thread Raw
In response to Re: [ADMIN] PostgreSQL questions  (rjreilly@scni.com)
List pgsql-admin
> >>try:
> >>template1=> \h copy
>         Command: copy
>         Description: copy data to and from a table
>         Syntax:
>         copy [binary] <class_name> [with oids]
>                 {to|from} {<filename>|stdin|stdout} [using delimiters <delim>];
> >>you can use "\t" a  HTab  or "," a comma. that is what i generally use.
> >>Check the mailing list archive there was a thread about speeding up copy
> >>operations
> >>by using a fifo.(could we add this to the documentation or is it??)

Actually copy and \copy are not the same, and \copy does not currently
take a delimiter, though it is on the TODO list now.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-admin by date:

Previous
From: rjreilly@scni.com
Date:
Subject: Re: [ADMIN] PostgreSQL questions
Next
From: Maarten Boekhold
Date:
Subject: Re: [ADMIN] postgresql-6.3.2 question