• Tom Lane's avatar
    Extend pg_get_indexdef() to know about index predicates. Also, tweak · e5bbf196
    Tom Lane authored
    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.
    e5bbf196
ruleutils.c 65.9 KB