Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f00f11

Browse files
author
Bryan Henderson
committed
Fix syntax of \copy in \? display.
1 parent9643e8b commit7f00f11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/psql.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.40 1996/12/2617:52:46 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.41 1996/12/2620:56:40 bryanh Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -144,7 +144,7 @@ slashUsage(PsqlSettings * ps)
144144
fprintf(stderr," \\a -- toggle field-alignment (currenty %s)\n",on(ps->opt.align));
145145
fprintf(stderr," \\C [<captn>] -- set html3 caption (currently '%s')\n",ps->opt.caption ?ps->opt.caption :"");
146146
fprintf(stderr," \\connect <dbname> -- connect to new database (currently '%s')\n",PQdb(ps->db));
147-
fprintf(stderr," \\copy<dbname> -- copy table to/froma file\n");
147+
fprintf(stderr," \\copy{<table> to <file> | <file>from<table>}\n");
148148
fprintf(stderr," \\d [<table>] -- list tables in database or columns in <table>, * for all\n");
149149
fprintf(stderr," \\e [<fname>] -- edit the current query buffer or <fname>, \\E execute too\n");
150150
fprintf(stderr," \\f [<sep>] -- change field separater (currently '%s')\n",ps->opt.fieldSep);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp