]> granicus.if.org Git - postgresql/commit
Modify raw parsetree representation returned by gram.y for SubLinks:
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 25 May 2000 22:42:19 +0000 (22:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 25 May 2000 22:42:19 +0000 (22:42 +0000)
commitff566b224198ea5e9ce609d9e9c66fc9032ebae2
tree3667243ddca76d36e5d7464bc1191952bce11136
parent610abfd57b2315a145d800e8f2d97b03509237df
Modify raw parsetree representation returned by gram.y for SubLinks:
the oper field should be a valid Node structure so it can be dumped by
outfuncs.c without risk of coredump.  (We had been using a raw pointer
to character string, which surely is NOT a valid Node.)  This doesn't
cause any backwards compatibility problems for stored rules, since
raw unanalyzed parsetrees are never stored.
src/backend/parser/gram.y
src/backend/parser/parse_expr.c
src/include/nodes/primnodes.h