]> granicus.if.org Git - postgresql/commit
Modify readfuncs so that recursive use of stringToNode will not crash
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 7 Jan 2001 01:08:48 +0000 (01:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 7 Jan 2001 01:08:48 +0000 (01:08 +0000)
commit4057b64f32dca9e79602ade1813e8d1ffbfa91d0
tree2b937c14980ef71f67975eecd1a39a556c542a0c
parent1402201463d98f0ef8ab07ac7aeb06d60cf337dc
Modify readfuncs so that recursive use of stringToNode will not crash
and burn.  Just for added luck, change reading of CONST nodes so that
we do not need to consult pg_type rows while reading them; this means
that no database access occurs during stringToNode.  This requires
changing the order in which const-node fields are written, which means
an initdb is forced.
src/backend/nodes/outfuncs.c
src/backend/nodes/read.c
src/backend/nodes/readfuncs.c
src/include/catalog/catversion.h
src/include/nodes/readfuncs.h