diff options
author | Fujii Masao <fujii@postgresql.org> | 2014-10-23 22:33:56 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2014-10-23 22:33:56 +0900 |
commit | efbbbbc8b51bacd32e96c3f747dd6aa4c0e444cb (patch) | |
tree | 8c5746809cd085c7c82a33e2488103aab860e96d /src/bin/psql/command.c | |
parent | 5ac372fc1a7cc673cc7d4cf26ba651d52495b27a (diff) | |
download | postgresql-efbbbbc8b51bacd32e96c3f747dd6aa4c0e444cb.tar.gz postgresql-efbbbbc8b51bacd32e96c3f747dd6aa4c0e444cb.zip |
Remove the unused argument of PSQLexec().
This commit simply removes the second argument of PSQLexec that was
set to the same value everywhere. Comments and code blocks related
to this parameter are removed.
Noticed by Heikki Linnakangas, reviewed by Michael Paquier
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 5c430ea5c2b..cb94ce34bbd 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -967,7 +967,7 @@ exec_command(const char *cmd, printfPQExpBuffer(&buf, "ALTER USER %s PASSWORD ", fmtId(user)); appendStringLiteralConn(&buf, encrypted_password, pset.db); - res = PSQLexec(buf.data, false); + res = PSQLexec(buf.data); termPQExpBuffer(&buf); if (!res) success = false; @@ -2181,7 +2181,7 @@ process_file(char *filename, bool single_txn, bool use_relative_path) if (single_txn) { - if ((res = PSQLexec("BEGIN", false)) == NULL) + if ((res = PSQLexec("BEGIN")) == NULL) { if (pset.on_error_stop) { @@ -2197,7 +2197,7 @@ process_file(char *filename, bool single_txn, bool use_relative_path) if (single_txn) { - if ((res = PSQLexec("COMMIT", false)) == NULL) + if ((res = PSQLexec("COMMIT")) == NULL) { if (pset.on_error_stop) { |