postgresql/src
Tom Lane ff33a8c887 Remove artificial restrictions on which node types have out/read funcs.
The initial version of gen_node_support.pl manually excluded most
utility statement node types from having out/read support, and
also some raw-parse-tree-only node types.  That was mostly to keep
the output comparable to the old hand-maintained code.  We'd like
to have out/read support for utility statements, for debugging
purposes and so that they can be included in new-style SQL functions;
so it's time to lift that restriction.

Most if not all of the previously-excluded raw-parse-tree-only node
types can appear in expression subtrees of utility statements, so
they have to be handled too.

We don't quite have full read support yet; certain custom_read_write
node types need to have their handwritten read functions implemented
before that will work.

Doing this allows us to drop the previous hack in _outQuery to not
dump the utilityStmt field in most cases, which means we no longer
need manually-maintained out/read functions for Query, so get rid
of those in favor of auto-generating them.

Fix a couple of omissions in gen_node_support.pl that are exposed
through having to handle more node types.

catversion bump forced because somebody was sloppy about the field
order in the manually-maintained Query out/read functions.
(Committers should note that almost all changes in parsenodes.h
are now grounds for a catversion bump.)
2022-07-13 11:48:17 -04:00
..
backend Remove artificial restrictions on which node types have out/read funcs. 2022-07-13 11:48:17 -04:00
bin NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00
common Improve error reporting from validate_exec(). 2022-07-12 15:37:39 -04:00
fe_utils Remove redundant null pointer checks before PQclear and PQconninfoFree 2022-07-03 20:11:05 +02:00
include Remove artificial restrictions on which node types have out/read funcs. 2022-07-13 11:48:17 -04:00
interfaces Plug memory leak 2022-07-13 12:58:56 +02:00
makefiles Remove HP-UX port. 2022-07-08 14:05:05 +12:00
pl Remove useless assertions 2022-07-13 11:43:40 +02:00
port Remove HP-UX port. 2022-07-08 14:05:05 +12:00
template Remove HP-UX port. 2022-07-08 14:05:05 +12:00
test Fix flag tests in src/test/modules/test_oat_hooks 2022-07-13 12:58:56 +02:00
timezone Update time zone data files to tzdata release 2022a. 2022-05-05 14:54:53 -04:00
tools Add defenses against unexpected changes in the NodeTag enum list. 2022-07-12 11:22:52 -04: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 Remove LLVM_CONFIG from Makefile.global.in 2022-07-06 08:11:39 -07:00
Makefile.shlib Remove HP-UX port. 2022-07-08 14:05:05 +12:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00