]> granicus.if.org Git - postgresql/commit
Some variants of ALTER OWNER tried to make the "object" field of the
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Feb 2008 21:08:16 +0000 (21:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Feb 2008 21:08:16 +0000 (21:08 +0000)
commit4af5e12b59eee56df0f15a3013077f628da60135
tree51e4175c716b4fe041c35d73f7e71abae22b607f
parent08cf8603cf88b53ae125cb410395ff02e5100c97
Some variants of ALTER OWNER tried to make the "object" field of the
statement be a list of bare C strings, rather than String nodes, which is
what they need to be for copyfuncs/equalfuncs to work.  Fortunately these
node types never go out to disk (if they did, we'd likely have noticed the
problem sooner), so we can just fix it without creating a need for initdb.
This bug has been there since 8.0, but 8.3 exposes it in a more common
code path (Parse messages) than prior releases did.  Per bug #3940 from
Vladimir Kokovic.
src/backend/commands/alter.c
src/backend/parser/gram.y