aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/float.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-07-13 11:48:17 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-07-13 11:48:17 -0400
commitff33a8c8874b43ec55d517ce0612ed79ad08a38a (patch)
tree9ca6ab1de358c7d9aefebc4df78c24c05c83f958 /src/backend/utils/adt/float.c
parent9c727360bcc77cf88693129cd6e610b752fdd3d1 (diff)
downloadpostgresql-ff33a8c8874b43ec55d517ce0612ed79ad08a38a.tar.gz
postgresql-ff33a8c8874b43ec55d517ce0612ed79ad08a38a.zip
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.)
Diffstat (limited to 'src/backend/utils/adt/float.c')
0 files changed, 0 insertions, 0 deletions