projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
457f6f1
)
Add missing 'else', per report from
[email protected]
.
author
Tom Lane
<
[email protected]
>
Fri, 18 Jan 2002 16:14:54 +0000
(16:14 +0000)
committer
Tom Lane
<
[email protected]
>
Fri, 18 Jan 2002 16:14:54 +0000
(16:14 +0000)
src/bin/psql/command.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/command.c
b/src/bin/psql/command.c
index f9d03809383c1153f78b43034efe58dd6c2635b2..44933b038fc21a2fc48ddf8b7ac8363c506c55fa 100644
(file)
--- a/
src/bin/psql/command.c
+++ b/
src/bin/psql/command.c
@@
-710,7
+710,7
@@
exec_command(const char *cmd,
psql_error("\\%s: missing required argument\n", cmd);
success = false;
}
- if (!SetVariable(pset.vars, opt, NULL))
+
else
if (!SetVariable(pset.vars, opt, NULL))
{
psql_error("\\%s: error\n", cmd);
success = false;