diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-07-06 11:45:13 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-07-06 11:45:13 -0400 |
commit | c7f23494c1103f87bcf1ef7cbfcd626e73edb337 (patch) | |
tree | 7986492776b72dae25a10615076658879440aa03 /src/bin/psql/settings.h | |
parent | 5ac6b767893281cab5c974b039400118851d548b (diff) |
Add \ir command to psql.
\ir is short for "include relative"; when used from a script, the
supplied pathname will be interpreted relative to the input file,
rather than to the current working directory.
Gurjeet Singh, reviewed by Josh Kupershmidt, with substantial further
cleanup by me.
Diffstat (limited to 'src/bin/psql/settings.h')
-rw-r--r-- | src/bin/psql/settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/settings.h b/src/bin/psql/settings.h index 7228f9d0eea..3aebf532991 100644 --- a/src/bin/psql/settings.h +++ b/src/bin/psql/settings.h @@ -81,7 +81,7 @@ typedef struct _psqlSettings bool cur_cmd_interactive; int sversion; /* backend server version */ const char *progname; /* in case you renamed psql */ - char *inputfile; /* for error reporting */ + char *inputfile; /* file being currently processed, if any */ char *dirname; /* current directory for \s display */ uint64 lineno; /* also for error reporting */ |