pgsql: Some variants of ALTER OWNER tried to make the "object" field of - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Some variants of ALTER OWNER tried to make the "object" field of
Date
Msg-id 20080207210816.B98CD754109@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        alter.c (r1.15 -> r1.15.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/alter.c?r1=1.15&r2=1.15.2.1)
    pgsql/src/backend/parser:
        gram.y (r2.511.2.2 -> r2.511.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/gram.y?r1=2.511.2.2&r2=2.511.2.3)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Some variants of ALTER OWNER tried to make the "object" field of
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Some variants of ALTER OWNER tried to make the "object" field of