diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 42e862cf17..13179e845d 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -982,9 +982,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 [, ...] ) ]