8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7a1ce7 commit 169a5b7Copy full SHA for 169a5b7
src/bin/psql/psql.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.1.1.1 1996/07/09 06:22:15 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.2 1996/07/16 06:37:28 scrappy Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -762,8 +762,13 @@ HandleSlashCmds(PGconn** db_ptr,
762
if (query) {
763
fputs(query, stdout);
764
fputc('\n', stdout);
765
+ status = 1;
766
}
767
break;
768
+ case 'r':
769
+ query[0] = '\0';
770
771
+ break;
772
case 'q': /* \q is quit */
773
status = 2;
774
0 commit comments