pgsql: Make CheckIndexCompatible simpler and more bullet-proof.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make CheckIndexCompatible simpler and more bullet-proof.
Date: 2012-01-25 20:31:17
Message-ID: E1Rq9Uz-0006zV-Iy@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make CheckIndexCompatible simpler and more bullet-proof.

This gives up the "don't rewrite the index" behavior in a couple of
relatively unimportant cases, such as changing between an array type
and an unconstrained domain over that array type, in return for
making this code more future-proof.

Noah Misch

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6eb71ac5527a94be443bc66e68b47b04979906e4

Modified Files
--------------
src/backend/commands/indexcmds.c | 105 ++++++++++++++---------------
src/test/regress/expected/alter_table.out | 9 +++
src/test/regress/sql/alter_table.sql | 8 ++
3 files changed, 67 insertions(+), 55 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2012-01-25 21:23:50 pgsql: Have \copy go through SendQuery
Previous Message Simon Riggs 2012-01-25 18:02:52 pgsql: Allow pg_basebackup from standby node with safety checking.