Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    e5bbf196
    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
    History
    Extend pg_get_indexdef() to know about index predicates. Also, tweak
    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.