]> granicus.if.org Git - postgresql/commit
Change pg_dump to produce CREATE INDEX commands by using the backend's
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Oct 2001 21:31:52 +0000 (21:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Oct 2001 21:31:52 +0000 (21:31 +0000)
commit1929a90b6927a81cc5e8a5d566d9f4092ec518bb
tree60afef03d16f9c142dfb27d5b224503a009fd5a6
parente5bbf19659b0e30fde177539b6f8fd81f4274b47
Change pg_dump to produce CREATE INDEX commands by using the backend's
pg_get_indexdef() function, rather than reaching into the system catalogs
for itself.  This eliminates a fair amount of redundant code.  Also,
since I just changed pg_get_indexdef() to suppress display of default
index opclasses, this will mean that 7.2 and later dumps will not mention
opclasses unless they are non-default opclasses.  Should make life easier
for future index opclass reorganizations.
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h