postgresql/src/fe_utils
Andrew Dunstan d57c7a7c50 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
2017-09-21 19:02:23 -04:00
..
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
Makefile Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
mbprint.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
print.c In psql, use PSQL_PAGER in preference to PAGER, if it's set. 2017-09-05 12:02:13 -04:00
psqlscan.l Provide a test for variable existence in psql 2017-09-21 19:02:23 -04:00
simple_list.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
string_utils.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00