Add \ir command to psql.
authorRobert Haas <rhaas@postgresql.org>
Wed, 6 Jul 2011 15:45:13 +0000 (11:45 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 6 Jul 2011 15:45:13 +0000 (11:45 -0400)
commitc7f23494c1103f87bcf1ef7cbfcd626e73edb337
tree7986492776b72dae25a10615076658879440aa03
parent5ac6b767893281cab5c974b039400118851d548b
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.
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/command.c
src/bin/psql/command.h
src/bin/psql/help.c
src/bin/psql/settings.h
src/bin/psql/startup.c
src/bin/psql/tab-complete.c
src/include/port.h
src/port/path.c