]> granicus.if.org Git - postgresql/commit
Must check indisready not just indisvalid when dumping from 9.2 server.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Mar 2013 02:09:20 +0000 (22:09 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Mar 2013 02:09:20 +0000 (22:09 -0400)
commit723acc99bef562cf536d38d0a1967f24e9b4ede0
tree8af3288b62ebdaf909dbf555334055bcdcb6380d
parenteb2a70f2459a4e17971e92f5f80a95f277e2efde
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.
src/bin/pg_dump/pg_dump.c