diff options
author | Neil Conway <neilc@samurai.com> | 2005-06-13 06:36:22 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-06-13 06:36:22 +0000 |
commit | 077811605e07212139c3df503fdaa081690635ca (patch) | |
tree | 0c94b7e15f42ba79319eaf50d1844e1846a30461 /src/bin/psql/command.c | |
parent | 8c05ca7754bb49526bab106af0049eba55ffa698 (diff) |
Per discussion on -hackers, this patch changes psql's "expanded" output
mode to only affect the presentation of normal query results, not the
output of psql slash commands. Documentation updated. I also made
some unrelated minor psql cleanup. Per suggestion from Stuart Cooper.
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index bf58b885a93..870d6310689 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2005, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.145 2005/06/09 23:28:09 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.146 2005/06/13 06:36:22 neilc Exp $ */ #include "postgres_fe.h" #include "command.h" @@ -114,11 +114,6 @@ HandleSlashCmds(PsqlScanState scan_state, { /* adjust cmd for possible messages below */ cmd[1] = '\0'; - -#if 0 /* turned out to be too annoying */ - if (isalpha((unsigned char) cmd[0])) - psql_error("Warning: This syntax is deprecated.\n"); -#endif } } |