diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-09-05 18:17:47 -0400 | 
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-09-05 18:17:47 -0400 | 
| commit | 49ca462eb165dea297f1f110e8eac064308e9d51 (patch) | |
| tree | 2e90d6bfe5b3be5d91b9fa8966dcbe274cb6f717 /src/backend/access/common/scankey.c | |
| parent | 6e427aa4e5f3ad79a79b463c470daf93fa15767b (diff) | |
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 'src/backend/access/common/scankey.c')
0 files changed, 0 insertions, 0 deletions
