pgsql: Add check for matching column collations in ALTER TABLE ... INHE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add check for matching column collations in ALTER TABLE ... INHE
Date: 2011-04-17 20:22:36
Message-ID: E1QBYUO-00050s-Vt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add check for matching column collations in ALTER TABLE ... INHERIT.

The other DDL operations that create an inheritance relationship were
checking for collation match already, but this one got missed.

Also fix comments that failed to mention collation checks.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/49a642ab1802ea4cd80f9c184e7699219688197f

Modified Files
--------------
src/backend/commands/tablecmds.c | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-04-17 20:55:13 pgsql: Fix pg_dump to handle collations applied to columns of composite
Previous Message Tom Lane 2011-04-17 18:54:28 pgsql: Support a COLLATE clause in plpgsql variable declarations.