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:25 +0000 (21:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Feb 2008 21:08:25 +0000 (21:08 +0000)
commit66c08e8dfdf05ed9bdc8d644ef28a58b3cdea2c5
treee78fe6bb0b3d077d495d8d1bf4256a7abe829827
parent47141c5b5834ccd06714f84dae64bd48a0f48615
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