From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Some variants of ALTER OWNER tried to make the "object" field of |
Date: | 2008-02-07 21:07:55 |
Message-ID: | 20080207210755.9CEC5754108@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
Modified Files:
--------------
pgsql/src/backend/commands:
alter.c (r1.26 -> r1.27)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/alter.c?r1=1.26&r2=1.27)
pgsql/src/backend/parser:
gram.y (r2.605 -> r2.606)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/gram.y?r1=2.605&r2=2.606)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-02-07 21:08:04 | pgsql: Some variants of ALTER OWNER tried to make the "object" field of |
Previous Message | Tom Lane | 2008-02-07 20:19:48 | pgsql: Add missing copyfuncs/equalfuncs support for |