diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2017-09-21 19:02:23 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2017-09-21 19:02:23 -0400 |
commit | d57c7a7c506276597af619bdb8c62fa5b592745a (patch) | |
tree | 6cab776216fa74f256164cbbc7859fbe1fb97b02 /src/backend/access/gist/gistbuild.c | |
parent | 71480501057fee9fa3649b072173ff10e2b842d0 (diff) | |
download | postgresql-d57c7a7c506276597af619bdb8c62fa5b592745a.tar.gz postgresql-d57c7a7c506276597af619bdb8c62fa5b592745a.zip |
Provide a test for variable existence in psql
"\if :{?variable_name}" will be translated to "\if TRUE" if the variable
exists and "\if FALSE" otherwise. Thus it will be possible to execute code
conditionally on the existence of the variable, regardless of its value.
Fabien Coelho, with some review by Robins Tharakan and some light text
editing by me.
Discussion: https://postgr.es/m/alpine.DEB.2.20.1708260835520.3627@lancre
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions