Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group