Some variants of ALTER OWNER tried to make the "object" field of the

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f6693948c4a16c8f2dbc2f36a5207b03f1438fd6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-02-07T21:08:04Z
Releases: 8.2.7
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.

Files

PathChange+/−
src/backend/commands/alter.c modified +4 −4
src/backend/parser/gram.y modified +4 −4