pgsql: Must check indisready not just indisvalid when dumping from 9.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Must check indisready not just indisvalid when dumping from 9.2
Date: 2013-03-29 02:09:38
Message-ID: E1ULOl8-0005KP-0h@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Must check indisready not just indisvalid when dumping from 9.2 server.

9.2 uses a kluge representation of "indislive"; we have to account for
that when examining pg_index. Simplest solution is to check indisready
for 9.0 and 9.1 as well; that's harmless though unnecessary, so it's
not worth making a version distinction for.

Fixes oversight in commit 683abc73dff549e94555d4020dae8d02f32ed78b,
as noted by Andres Freund.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/723acc99bef562cf536d38d0a1967f24e9b4ede0

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-03-29 03:15:33 pgsql: Document encode(bytea, 'escape')'s behavior correctly.
Previous Message Tom Lane 2013-03-29 02:09:37 pgsql: Must check indisready not just indisvalid when dumping from 9.2