]> granicus.if.org Git - postgresql/commit - src/bin/psql/common.c
Create a psql command \gset to store query results into psql variables.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Feb 2013 22:06:38 +0000 (17:06 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Feb 2013 22:06:38 +0000 (17:06 -0500)
commitd2d153fdb08053d655bd0fef14187eed6a674193
treed5b988ce6d712fcec154511e90af87b73d34d3e2
parent101d6ae755656b675b7c18db655249511982b780
Create a psql command \gset to store query results into psql variables.

This eases manipulation of query results in psql scripts.

Pavel Stehule, reviewed by Piyush Newe, Shigeru Hanada, and Tom Lane
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/command.c
src/bin/psql/common.c
src/bin/psql/help.c
src/bin/psql/settings.h
src/bin/psql/tab-complete.c
src/test/regress/expected/psql.out [new file with mode: 0644]
src/test/regress/parallel_schedule
src/test/regress/serial_schedule
src/test/regress/sql/psql.sql [new file with mode: 0644]