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

Leverage index inheritance when PostgreSQL will support this feature

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            desruisseaux Martin Desruisseaux

            Dates

              Created:
              Updated:

              Slack

                Issue deployment