]> granicus.if.org Git - postgresql/commit
Extend pg_get_indexdef() to know about index predicates. Also, tweak
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Oct 2001 20:15:26 +0000 (20:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Oct 2001 20:15:26 +0000 (20:15 +0000)
commite5bbf19659b0e30fde177539b6f8fd81f4274b47
treec277f59050ea6a86b6236ddb017b47d9acfb69d3
parent0648d78ac4ae3d3945348392795a401ddd4b2839
Extend pg_get_indexdef() to know about index predicates.  Also, tweak
it to suppress index opclass output for opclasses that are the default
for their datatype; only non-default opclasses are shown explicitly.
This is expected to improve portability of the CREATE INDEX command
across future versions of Postgres --- we've changed index opclasses
too often in the past to think we won't do so again.
src/backend/utils/adt/ruleutils.c