aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-09-05 18:17:47 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-09-05 18:17:47 -0400
commit49ca462eb165dea297f1f110e8eac064308e9d51 (patch)
tree2e90d6bfe5b3be5d91b9fa8966dcbe274cb6f717 /contrib/postgres_fdw/postgres_fdw.c
parent6e427aa4e5f3ad79a79b463c470daf93fa15767b (diff)
downloadpostgresql-49ca462eb165dea297f1f110e8eac064308e9d51.tar.gz
postgresql-49ca462eb165dea297f1f110e8eac064308e9d51.zip
Add \gdesc psql command.
This command acts somewhat like \g, but instead of executing the query buffer, it merely prints a description of the columns that the query result would have. (Of course, this still requires parsing the query; if parse analysis fails, you get an error anyway.) We accomplish this using an unnamed prepared statement, which should be invisible to psql users. Pavel Stehule, reviewed by Fabien Coelho Discussion: https://postgr.es/m/CAFj8pRBhYVvO34FU=EKb=nAF5t3b++krKt1FneCmR0kuF5m-QA@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions