postgresql/src
Peter Eisentraut a6bc330192 Add read support for some missing raw parse nodes
The node types A_Const, Constraint, and A_Expr had custom output
functions, but no read functions were implemented so far.

The A_Expr output format had to be tweaked a bit to make it easier to
parse.

Be a bit more cautious about applying strncmp to unterminated strings.

Also error out if an unrecognized enum value is found in each case,
instead of just printing a placeholder value.  That was maybe ok for
debugging but won't work if we want to have robust round-tripping.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/4159834.1657405226@sss.pgh.pa.us
2022-09-24 18:18:33 -04:00
..
backend Add read support for some missing raw parse nodes 2022-09-24 18:18:33 -04:00
bin De-special-case pgevent's rc file handling 2022-09-24 12:04:56 -07:00
common Use min/max bounds defined by Zstd for compression level 2022-09-22 20:02:40 +09:00
fe_utils meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
include Add read support for some missing raw parse nodes 2022-09-24 18:18:33 -04:00
interfaces Remove PQsendQuery support in pipeline mode 2022-09-23 18:21:22 +02:00
makefiles aix: No need to use mkldexport when we want to export all symbols 2022-09-09 19:11:49 -07:00
pl meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
port meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
template Move darwin sysroot determination into separate file 2022-09-01 16:54:19 -07:00
test pgstat: Fix transactional stats dropping for indexes 2022-09-23 13:00:55 -07:00
timezone meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
tools De-special-case pgevent's rc file handling 2022-09-24 12:04:56 -07:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Split TESTDIR into TESTLOGDIR and TESTDATADIR 2022-09-19 18:03:17 -07:00
Makefile.shlib aix: No need to use mkldexport when we want to export all symbols 2022-09-09 19:11:49 -07:00
meson.build meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00