Re: [ADMIN] PostgreSQL questions

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: rjreilly(at)scni(dot)com
Cc: pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [ADMIN] PostgreSQL questions
Date: 1998-05-18 01:42:15
Message-ID: 199805180142.VAA24693@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Maarten Boekhold 1998-05-18 08:55:36 Re: [ADMIN] postgresql-6.3.2 question
Previous Message Brett W. McCoy 1998-05-17 23:10:45 Re: [ADMIN] postgresql-6.3.2 question