From: | Evan Carroll <me(at)evancarroll(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Question about weird COPY syntax |
Date: | 2010-06-17 16:24:23 |
Message-ID: | AANLkTilArK3J6LjR3CV09OQXX_haOcujSWppRbQ5-HVV@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
While asking questions about the grammar of COPY why do we have a
bracket of `[ [ WITH ] ...` rather than `[ WITH ]` ...
COPY tablename [ ( column [, ...] ) ]
FROM { 'filename' | STDIN }
[ [ WITH ] (why is this opening bracket that is never closed here.)
[ BINARY ]
[ OIDS ]
[ DELIMITER [ AS ] 'delimiter' ]
[ NULL [ AS ] 'null string' ]
[ -PERL_key = value ]
[ -PERL_key ]
[ CSV [ HEADER ]
[ QUOTE [ AS ] 'quote' ]
[ ESCAPE [ AS ] 'escape' ]
[ FORCE NOT NULL column [, ...] ]
[ -TCSV_key ]
[ -TCSV_key = value ]
--
Evan Carroll
System Lord of the Internets
http://www.evancarroll.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-06-17 17:00:10 | Re: Question about weird COPY syntax |
Previous Message | Tom Lane | 2010-06-17 16:23:25 | Re: Wrong number of empty toast pages |