aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-05-26 19:51:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-05-26 19:51:29 +0000
commit223ae6957f76f356bda883d427812d9214394f84 (patch)
tree1393bbe0c0ecd9a08698a23f1af06f9024b9ee0c /doc/src
parentaadd8a23ce9d8cfe310f6e0fb6bf86f0eb0707bc (diff)
downloadpostgresql-223ae6957f76f356bda883d427812d9214394f84.tar.gz
postgresql-223ae6957f76f356bda883d427812d9214394f84.zip
Support binary COPY through psql. Also improve detection of write errors
during COPY OUT. Andreas Pflug, some editorialization by moi.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 19d88c9843f..f00b4c09f6f 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.161 2006/04/02 20:08:20 neilc Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.162 2006/05/26 19:51:29 tgl Exp $
PostgreSQL documentation
-->
@@ -744,13 +744,16 @@ testdb=&gt;
{ <literal>from</literal> | <literal>to</literal> }
{ <replaceable class="parameter">filename</replaceable> | stdin | stdout | pstdin | pstdout }
[ with ]
+ [ binary ]
[ oids ]
[ delimiter [ as ] '<replaceable class="parameter">character</replaceable>' ]
[ null [ as ] '<replaceable class="parameter">string</replaceable>' ]
- [ csv [ quote [ as ] '<replaceable class="parameter">character</replaceable>' ]
- [ escape [ as ] '<replaceable class="parameter">character</replaceable>' ]
- [ force quote <replaceable class="parameter">column_list</replaceable> ]
- [ force not null <replaceable class="parameter">column_list</replaceable> ] ]</literal>
+ [ csv
+ [ header ]
+ [ quote [ as ] '<replaceable class="parameter">character</replaceable>' ]
+ [ escape [ as ] '<replaceable class="parameter">character</replaceable>' ]
+ [ force quote <replaceable class="parameter">column_list</replaceable> ]
+ [ force not null <replaceable class="parameter">column_list</replaceable> ] ]</literal>
</term>
<listitem>