aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/command.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-12-08 14:04:08 -0500
committerRobert Haas <rhaas@postgresql.org>2015-12-08 14:04:08 -0500
commitd5563d7df94488bf0ab52ac0678e8a07e5b8297e (patch)
treed43ce085b39e22a2e6ca8d621a8d0a165e5f78a7 /src/bin/psql/command.h
parent385f337c9f39b21dca96ca4770552a10a6d5af24 (diff)
downloadpostgresql-d5563d7df94488bf0ab52ac0678e8a07e5b8297e.tar.gz
postgresql-d5563d7df94488bf0ab52ac0678e8a07e5b8297e.zip
psql: Support multiple -c and -f options, and allow mixing them.
To support this, we must reconcile some historical anomalies in the behavior of -c. In particular, as a backward-incompatibility, -c no longer implies --no-psqlrc. Pavel Stehule (code) and Catalin Iacob (documentation). Review by Michael Paquier and myself. Proposed behavior per Tom Lane.
Diffstat (limited to 'src/bin/psql/command.h')
-rw-r--r--src/bin/psql/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/command.h b/src/bin/psql/command.h
index 54385e8f875..c817600e187 100644
--- a/src/bin/psql/command.h
+++ b/src/bin/psql/command.h
@@ -27,7 +27,7 @@ typedef enum _backslashResult
extern backslashResult HandleSlashCmds(PsqlScanState scan_state,
PQExpBuffer query_buf);
-extern int process_file(char *filename, bool single_txn, bool use_relative_path);
+extern int process_file(char *filename, bool use_relative_path);
extern bool do_pset(const char *param,
const char *value,