sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-358) Leverage index inheritance when PostgreSQL will support this feature
Date Sun, 07 May 2017 22:55:04 GMT
Martin Desruisseaux created SIS-358:
---------------------------------------

             Summary: Leverage index inheritance when PostgreSQL will support this feature
                 Key: SIS-358
                 URL: https://issues.apache.org/jira/browse/SIS-358
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Metadata
    Affects Versions: 0.8
         Environment: PostgreSQL 9.6.
            Reporter: Martin Desruisseaux
            Priority: Minor


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}}.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message