Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-358

Leverage index inheritance when PostgreSQL will support this feature

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.8
    • None
    • Metadata
    • PostgreSQL 9.6.

    Description

      The org.apache.sis.metadata.sql package takes advantage of table inheritance as documented there:

      http://www.postgresql.org/docs/9.6/static/ddl-inherit.html

      However as of version 9.6, PostgreSQL does not support index inheritance. This limitation is documented in the "Caveats" section at the bottom of the above-cited page. The consequence is that org.apache.sis.metadata.sql can not enforce foreigner key constraints on columns that reference a parent table.

      If PostgreSQL supports index inheritance in a future version, then the Dialect.isIndexInheritanceSupported constant should be set to true.

      Attachments

        Activity

          People

            Unassigned Unassigned
            desruisseaux Martin Desruisseaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: