psql-copy-ref.patch
application/octet-stream
Filename: psql-copy-ref.patch
Type: application/octet-stream
Part: 0
Message:
Minor document updates
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: context
| File | + | − |
|---|---|---|
| doc/src/sgml/ref/psql-ref.sgml | 6 | 0 |
*** a/doc/src/sgml/ref/psql-ref.sgml
--- b/doc/src/sgml/ref/psql-ref.sgml
***************
*** 830,847 **** testdb=>
<term><literal>\copy { <replaceable class="parameter">table</replaceable> [ ( <replaceable class="parameter">column_list</replaceable> ) ] | ( <replaceable class="parameter">query</replaceable> ) }
{ <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
! [ 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>
<para>
--- 830,836 ----
<term><literal>\copy { <replaceable class="parameter">table</replaceable> [ ( <replaceable class="parameter">column_list</replaceable> ) ] | ( <replaceable class="parameter">query</replaceable> ) }
{ <literal>from</literal> | <literal>to</literal> }
{ <replaceable class="parameter">filename</replaceable> | stdin | stdout | pstdin | pstdout }
! [ [ with ] ( <replaceable class="parameter">option</replaceable> [, ...] ) ]</literal></term>
<listitem>
<para>
***************
*** 859,865 **** testdb=>
<para>
The syntax of the command is similar to that of the
<acronym>SQL</acronym> <xref linkend="sql-copy">
! command. Note that, because of this,
special parsing rules apply to the <command>\copy</command>
command. In particular, the variable substitution rules and
backslash escapes do not apply.
--- 848,858 ----
<para>
The syntax of the command is similar to that of the
<acronym>SQL</acronym> <xref linkend="sql-copy">
! command, and
! <replaceable class="parameter">option</replaceable>
! must indicate one of the options of the
! <acronym>SQL</acronym> <xref linkend="sql-copy"> command.
! Note that, because of this,
special parsing rules apply to the <command>\copy</command>
command. In particular, the variable substitution rules and
backslash escapes do not apply.