File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.140 1998/05/06 23:50:23 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.141 1998/05/12 23:04:01 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -1746,8 +1746,14 @@ HandleSlashCmds(PsqlSettings *pset,
1746
1746
break ;
1747
1747
case 'c' :
1748
1748
{
1749
- if (strncmp (cmd , "copy " , strlen ("copy " )) == 0 )
1749
+ if (strncmp (cmd , "copy " , strlen ("copy " )) == 0 ||
1750
+ strncmp (cmd , "copy " , strlen ("copy " )) == 0 )
1750
1751
do_copy (optarg2 , pset );
1752
+ else if (strcmp (cmd , "copy" ) == 0 )
1753
+ {
1754
+ fprintf (stderr , "See \\? for help\n" );
1755
+ break ;
1756
+ }
1751
1757
else if (strncmp (cmd , "connect " , strlen ("connect " )) == 0 ||
1752
1758
strcmp (cmd , "connect" ) == 0 /* issue error message */ )
1753
1759
{
You can’t perform that action at this time.
0 commit comments