From efbbbbc8b51bacd32e96c3f747dd6aa4c0e444cb Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Thu, 23 Oct 2014 22:33:56 +0900 Subject: 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 --- src/bin/psql/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bin/psql/command.c') 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) { -- cgit v1.2.3