Oracle table partitioning compatibility summary v16
EDB Postgres Advanced Server supports aspects of table partitioning that are compatible with Oracle databases.
Note
The declarative partitioning feature, introduced with PostgreSQL version 10, is not covered here. However, PostgreSQL declarative partitioning is supported in EDB Postgres Advanced Server 10 in addition to the table partitioning compatible with Oracle databases described here. For information about declarative partitioning, see the PostgreSQL core documentation.
The PostgreSQL INSERT... ON CONFLICT DO NOTHING/UPDATE
clause, commonly known as UPSERT
, isn't supported on Oracle-styled partitioned tables. If you include the ON CONFLICT DO NOTHING/UPDATE
clause when invoking the INSERT command to add data to a partitioned table, an error occurs.
Note
EDB Postgres Advanced Server doesn't support global indexes, so the index isn't inherited when you define a primary key on the partitioned table that doesn't include partition key columns. However, all partitions defined in CREATE TABLE
have an independent primary index on the column. You can re-create the primary key on all newly added partitions by using ALTER TABLE ... ADD CONSTRAINT
. This primary index enforces uniqueness in each partition but not across the entire partition hierarchy. In other words, you can have the same value repeated for the primary index column in two or more partitions.