diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index cfd0918751f..b0335b9592b 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -983,9 +983,15 @@ testdb=> + \copy { table [ ( column_list ) ] } + from + { 'filename' | program 'command' | stdin | pstdin } + [ [ with ] ( option [, ...] ) ] + [ where condition ] + \copy { table [ ( column_list ) ] | ( query ) } - { from | to } - { 'filename' | program 'command' | stdin | stdout | pstdin | pstdout } + to + { 'filename' | program 'command' | stdout | pstdout } [ [ with ] ( option [, ...] ) ]