Declarative partitioning
Partitioned tables declared with PARTITION BY (range, list, hash): tuple routing, partitioned indexes and foreign keys, default partitions and ATTACH/DETACH PARTITION. Introduced in PostgreSQL 10.
Versions
- PostgreSQL 20 · in-development · improved · moderate · 1 commit · +33 / -21 lines
- PostgreSQL 19 · shipped · improved · moderate · 4 commits · +260 / -56 lines
- PostgreSQL 18 · shipped · improved · moderate · 4 commits · +556 / -134 lines
- PostgreSQL 17 · shipped · improved · moderate · 3 commits · +341 / -76 lines
- PostgreSQL 16 · worked-on · improved · moderate
- PostgreSQL 15 · worked-on · improved · moderate
- PostgreSQL 14 · worked-on · improved · moderate
Threads
- BUG #19723: CREATE INDEX racing with ALTER INDEX ATTACH PARTITION triggers unexpected internal error
- BUG #19863: Adding a partition hides a row in a DEFAULT subpartition with reordered columns
- BUG #19952: psql \d+ omits nondefault replica identity for partitioned tables
- BUG #19949: pg_partition_tree() returns dropped partition from cached OID list
- BUG #19940: Permanent partitioned table silently dropped on DISCARD TEMP when partition key uses temp row type
- Prevent foreign key references to unlogged partitions
- Stale partition constraint on sub-partitions of a partitioned DEFAULT partition after a sibling is detached/dropped/created
- BUG #19903: ALTER COLUMN TYPE: "unexpected object depending on column" internal error via partition key
- Quadratic constraint naming for FKs to partitioned tables
- ALTER TABLE DROP/ADD COLUMN leaves rows in wrong partition on whole-row key
- BUG #19817: CREATE UNIQUE INDEX on a partitioned table can silently attach an invalid, not-ready child index, le
- ATTACH PARTITION cost grows linearly with pg_constraint size (seqscan in CloneFkReferenced), much worse since not-null constraints are in pg_constraint (PG 18)
- pgbench --unlogged-tables silently ignored for branches/tellers/history when --partitions is used
- BUG #19836: Backend crash with large hash partition modulus
- pgsql: Reduce "Var IS [NOT] NULL" quals during constant folding
- BUG #19818: ATTACH PARTITION / CREATE INDEX accept a child index whose deferrable property differs from the pare
- tablecmds: Deadlock caused by Attach Partition
- pg_dump/restore failure (dependency?) on BF serinus
- 5.12.2.1. Example
- BUG #19781: UPDATE moving a row of a self-referencing partitioned table fails with 23503 although ON UPDATE CASC
- find_all_inheritors() with NoLock fails on concurrently dropped sub-partitions
- BUG #19756: ALTER COLUMN TYPE USING gives wrong values on partitions with IS NULL
- [PATCH] Fix pg_dump --clean with inherited partition constraints
- Bug: ATTACH PARTITION can leave rows violating default partition constraint
- tablecmds: fix bug where index rebuild loses replica identity on partitions
- Unexpected reindex when altering column types for partitioned tables
- Partial indexes on system catalogs
- [PATCH] Fix default partition validation for reordered child columns
- [PATCH v1] [BUG #19507] Prevent constraint name conflicts in partition trees spanning multiple schemas
- relpages value for partitioned tables
- BUG #19634: Hash partition with large MODULUS causes "invalid memory alloc request size"
- A new C function `get_partition_root`.
- analyze-in-stages post upgrade questions
- [PATCH] Remove unused PartitionDescData.last_found_part_index field
- Caching a partition index's parent OID in the relcache?
- pg_restore error with partitioned table having exclude constraint
- Re: SELECT over partitioned table with LIMIT 1 performance regression issue in PostgreSQL 17 and 18
- Re: BUG #19507: Auto-named partition table constraint conflicts
- satisfies_hash_partition crash
- refactor ExecInitPartitionInfo
- disallow alter individual column if partition key contains wholerow reference
- [PATCH] doc: Document that invalid indexes are skipped during ATTACH PARTITION
- Error while processing invalidation message during ATTACH PARTITION leaves invalid relcache entry
- BUG #19507: Auto-named partition table constraint conflicts
- Fix regression in vacuumdb --analyze-in-stages for partitioned tables
- tablecmds: clarify recurse vs recusing
- Fix bug of COPY TO support partition table
- ALTER TABLE: warn when actions do not recurse to partitions
- [PATCH] Fix: Partitioned parent index remains invalid after child indexes are repaired
- POC: Comparison of partitioning key values
- SELECT over partitioned table with LIMIT 1 performance regression issue in PostgreSQL 17 and 18
- docs: clarify ALTER TABLE behavior on partitioned tables
- tablecmds: reject CLUSTER ON for partitioned tables earlier
- BUG #19420: Zombie FK exists after partition is detached.
- Documentation incorrect pg_partition_root function description.
- BUG #19414: Wrong rows returned by index scan on HASH-partitioned table with PRIMARY KEY (PostgreSQL 16.9)
- BUG #19402: CREATE TABLE IF NOT EXISTS raises DuplicateTable error under concurrent partition creation
- Proposal: Cascade REPLICA IDENTITY changes to leaf partitions
- BUG #19390: Defects in the test case partition_merge
- BUG #19099: Conditional DELETE from partitioned table with non-updatable partition raises internal error
- [PATCH v1] Document pg_get_partition_constraintdef.
- Fix incorrect column name in error message for range partition bound check
- misleading error message in DefineIndex
- psql \dh: List High-Level (Root) Tables and Indexes
- MergeAppend could consider sorting cheapest child path
- Segfault in RI UPDATE CASCADE on partitioned tables with LIKE+ATTACH child (attnum drift)
- speedup COPY TO for partitioned table.
- remove partColsUpdated
- Improve docs for n_distinct_inherited
- BUG #18959: Name collisions of expression indexes during parallel Index creations on a pratitioned table.
- Query Performance Degradation Due to Partition Scan Order – PostgreSQL v17.6
- minor error message enhancement in refuseDupeIndexAttach
- Self referential foreign keys in partitioned table not working as expected
- Correct docs about partitions and EXCLUDE constraints
- Partitioned tables and [un]loggedness
- BUG #18949: 分区表创建主键或者唯一约束需要有分区键
- Incorrect calculation of path fraction value in MergeAppend
- Missing word
- Re: Issue attaching a table to a partitioned table with an auto-referenced foreign key
- BUG #18916: alter table ... set (n_distinct=) completely ignored on partition head and/or individual partitions
- Incorrect calculation of path fraction value in MergeAppend
- BUG #18741: Detaching a partition referencing a partitioned table fails with a trigger-related error
- Documentation correction suggestion for primary key hashing on partitioned tables
- Command order bug in pg_dump
- Startup subpaths in MergeAppend path
- pg_dump --if-exists --clean when drop index that is partition of a partitioned index
- Fundamental scheduling bug in parallel restore of partitioned tables
- Add missing tab completion for VACUUM and ANALYZE with ONLY option
- BUG #18849: DEREF_OF_NULL.RET Pointer '&partexprs_item.ptr_value', returned from function 'list_head' at partiti
- Considering fractional paths in Append node
- Parent index on partitioned table could still be invalid even when children are not
- Invalid index on partitioned table - is this a bug or feature?
- Bug in detaching a partition with a foreign key.
- BUG #18746: /src/backend/parser/parse_utilcmd.c
- doc fail about ALTER TABLE ATTACH re. NO INHERIT
- Useless field ispartitioned in CreateStmtContext
- Dropping partition with CASCADE drops constraints on partitioned table
- BUG #18709: Explicit tablespace pg_default not working when creating of indices in partitioned tables
- [BUG] Fix DETACH with FK pointing to a partitioned table fails
- vacuumdb --analyze-only (e.g., after a major upgrade) vs. partitioned tables: pg_statistic missing stats for the partitioned table itself
- ALTER INDEX documentation is incomplete
- ALTER TABLE ONLY .. DROP CONSTRAINT on partitioned tables
- BUG #18637: CREATE INDEX won't look up operator classes in search_path if PARTITION BY is specified
- Address the -Wuse-after-free warning in ATExecAttachPartition()
- BUG #18628: Race condition during attach/detach partition breaks constraints of partition having foreign key
- ANALYZE ONLY
- No details on how to use Hash partitions: no example, no syntax
- Deadlock due to locking order violation while inserting into a leaf relation
- BUG #18541: Reattaching a partition referenced by a foreign key fails with an error
- BUG #18550: Cross-partition update of a former inheritance parent leads to an assertion failure
- BUG #18156: Self-referential foreign key in partitioned table not enforced on deletes
- BUG #18500: Detaching a partition with an index manually attached to the parent's index triggers Assert
- 回复: Clarification needed: create partition table can be in another schema other than that of the parent table
- Clarification needed: create partition table can be in another schema other than that of the parent table
- Incorrect explain output for updates/delete operations with returning-list on partitioned tables
- Missing examples for hash partitioning
- BUG #15954: Unable to alter partitioned table to set logged
- Detach Partition produces a --> SQL-Fehler [XX000]: ERROR: could not find ON INSERT check triggers of foreign key constraint 76908
- DOCS: add helpful partitioning links
- BUG #18402: Attaching a new partition doesn't reuse the prebuilt index on said partition
- Drop a partitioned table "side effect"
- make add_paths_to_append_rel aware of startup cost
- Tab completion for ATTACH PARTITION
- [ psql - review request ] review request for \d+ tablename, \d+ indexname indenting
- "ERROR: could not open relation with OID 16391" error was encountered when reindexing
- BUG #18286: "ERROR: could not open relation with OID 16391" error was encountered when reindexing
- Postgres Partitions Limitations (5.11.2.3)
- BUG #18256: spgGetCache() attempts to read to read invalid file for index attached to partitioned table
- BUG #18246: pgstathashindex() attempts to read invalid file for hash index attached to partitioned table
- should check collations when creating partitioned index
- CONCURRENTLY in example of index of partitioned table
- serial and partitioned table
- Potential use-after-free in partion related code
- Side effect of CVE-2017-7484 fix?
- BUG #18167: cannot create partitioned tables when default_tablespace is set
- BUG #18171: Dropping an index on a partitioned table drops all child indices even with a restrict
- Creating foreign key on partitioned table is too slow
- Crash in add_paths_to_append_rel
- Draft LIMIT pushdown to Append and MergeAppend patch
- BUG #18135: Incorrect memory access occurs when attaching a partition with an index
- BUG #17997: Assert failed in validatePartitionedIndex() when attaching partition index to child of valid index
- Improve the performance of nested loop join in the case of partitioned inner table
- Proposal: Automatic partition creation
- 'ERROR: attempted to update invisible tuple' from 'ALTER INDEX ... ATTACH PARTITION' on parent index
- Exclusion constraints on partitioned tables
- Issue attaching a table to a partitioned table with an auto-referenced foreign key
- BUG #18011: Declarative partition privilege problem cause incorrect execution plans
- Allow ordered partition scans in more cases
- 5.11.1 Table Partitioning Overview - "...the size of the table should exceed the physical memory.."
- CREATE TABLE ... PARTITION OF ...
- BUG #17913: alter column set (n_distinct=...) on partition head doesn't work for declarative partitioned tables
- [BUG] FK broken after DETACHing referencing part
- Fix the miss consideration of tuple_fraction during add_paths_to_append_rel
- BUG #17886: Error disabling user triggers on a partitioned table
- BUG #17882: I can't disable triggers on a table that has been partitioned
- pg_dump versus hash partitioning
- doc: mentioned CREATE+ATTACH PARTITION as an alternative to CREATE TABLE..PARTITION OF
- BUG #17817: DISABLE TRIGGER ALL on a partitioned table with foreign key fails
- OID ordering dependency in pg_dump
- Partition key causes problem for volatile target list query
- Fix to enum hashing for dump and restore
- missing indexes in indexlist with partitioned tables
- Allow batched insert during cross-partition updates
- Error for WITH options on partitioned tables
- [patch] Have psql's \d+ indicate foreign partitions
- Self FK oddity when attaching a partition
- parse partition strategy string in gram.y
- FOR EACH ROW triggers, on partitioend tables, with indexes?
- Clarify restriction on partitioned tables primary key / unique indexes
- = TRUE vs IS TRUE confuses partition index creation
- BUG #17574: Attaching an invalid index to partition head make head index invalid forever
- enable/disable broken for statement triggers on partitioned tables
- Skip partition tuple routing with constant partition key
- minor change for create_list_bounds()
- BUG #17548: Aggregate queries on partitioned tables can cause OOM.
- BUG #17525: Range partition by date won't allow the use of a date that is the upper bound
- doc: CREATE FOREIGN TABLE .. PARTITION OF .. DEFAULT
- CLUSTER on partitioned index
- pg_relation_size on partitioned table
- a misbehavior of partition row movement (?)
- PATCH: generate fractional cheapest paths in generate_orderedappend_path
- Concurrent deadlock scenario with DROP INDEX on partitioned index
- Detaching a partition with a FK on itself is not possible
- BUG #17412: CREATE INDEX on a partitioned table doesn't recognize existing partial indexes on partitions
- Multi-Column List Partitioning
- BUG #17351: Altering a composite type created for a partitioned table can lead to a crash
- PG 14 range partitions creation works but subsequently can't be found correctly
- BUG #17292: view definition containing multiple joins on partitioned table returns invalid explain plan
- ALTER TABLE DETACH PARTITION violates serializability
- Partition Check not updated when insert into a partition
- BUG #17211: Partitioned index partition does not inherit table partition tablespace
- A reloption for partitioned tables - parallel_workers
- pg_dump, ATTACH, and independently restorable child partitions
- ATTACH PARTITION locking documentation for DEFAULT partitions
- Rename of triggers for partitioned tables
- DROP INDEX CONCURRENTLY on partitioned index
- CREATE TABLE .. PARTITION OF fails to preserve tgenabled for inherited row triggers
- Unused function parameter in get_qual_from_partbound()
- Removed extra memory allocations from create_list_bounds
- Partitioned index can be not dumped
- BUG #17076: Server crashes on composing an error message about invalid modulus for a new table partition
- Deadlock risk while inserting directly into partition?
- Query regarding RANGE Partitioning
- compatibility issue - problem with migrating from Postgres 11
- useless argument of ATAddForeignKeyConstraint
- ALTER CONSTRAINT on a partitioned FK isn't working
- BUG #16908: Postgres (12) allows you (re)-attach partitions that violate Foreign Key constraints?
- default_tablespace doc and partitioned rels
- On update cascade failing when moving data between partitions
- problem with RETURNING and update row movement
- posgres 12 bug (partitioned table)
- Partitioned table permission question
- Doubt with [ RANGE partition with TEXT datatype ]
- [bug fix] ALTER TABLE SET LOGGED/UNLOGGED on a partitioned table does nothing silently
- Unused triggers and trigger firing always on partitioned table
- document lock obtained for FKs during detach
- BUG #16928: pg_restore --clean/-c occurs ERROR for partitioned range table
- Huge memory consumption on partitioned table with FKs
- Improve new hash partition bound check error messages
- avoid bitmapOR-ing indexes with scan condition inconsistent with partition constraint
- BUG #16794: BEFORE UPDATE FOR EACH ROW triggers on partitioned tables can break tuple moving UPDATEs
- BEFORE ROW triggers for partitioned tables
- BUG #16577: Segfault on altering a table located in a dropped tablespace
- pg_dump INDEX ATTACH versus --clean option
- Inconsistent/confusing handling of tablespaces for partitioned tables
- Lock level of create table partition of
- Range partitioning and overlap
- Returning NULL from satisfies_hash_partition() is a bad idea
- list_free() in index_get_partition()
- hash_array_extended() needs to pass down collation
- reindex partitioned indexes: refactor ReindexRelationConcurrently ?
- Assertion failure when ATTACH partition followed by CREATE PARTITION.
- partition routing layering in nodeModifyTable.c
- Re: 回复:how to create index concurrently on partitioned table
- ERROR: insufficient columns in the PRIMARY KEY constraint definition
- Re: Report error position in partition bound check
- BUG #16634: Conflicting names of indexes for partitioned tables
- pg_restore causing deadlocks on partitioned tables
- BUG #16621: Unexpected Foreign Key Constraint Violation when Creating New Child Partition
- unsupportable composite type partition keys
- default partition and concurrent attach partition
- Dependencies for partitioned indexes are still a mess
- BUG #16594: DROP INDEX CONCURRENTLY fails on partitioned table with a non helpful error message.
- Update limitations for declarative partitioning
- [POC]Enable tuple change partition caused by BEFORE TRIGGER
- Small doubt on update a partition when some rows need to move among partition
- Table Partitioning
- Report error position in partition bound check
- BUG #16153: foreign key update should probably move dependent rows in the case of tuple rerouting
- postgresql 12 runs out of memory when updating a partitioned table with subquery
- BUG #16521: n_distinct_inherited does not affect child partitions when set on main partition
- Asymmetry in opening and closing indices for partition routing
- Extra target list entries for child partitions in DELETE...USING...RETURNING
- how to create index concurrently on paritioned table
- Getting ERROR with FOR UPDATE/SHARE for partitioned table.
- should CREATE INDEX ON partitioned_table call PreventInTransactionBlock() ?
- segmentation fault using currtid and partitioned tables
- ATTACH/DETACH partitions and locking
- BUG #16446: ERROR: virtual tuple table slot does not have system attributes on insert to partitioned table
- create partition table caused server crashed with self-referencing foreign key
- DETACH PARTITION and FOR EACH ROW triggers on partitioned tables
- BUG #16325: Assert failure on partitioning by int for a text value with a collation
- [PATCH] Check operator when creating unique index on partition table
- Wrong insert before trigger examples
- BUG #16293: postgres segfaults and returns SQLSTATE 08006
- handle tablespaces for partitioned tables during ALTER DATABASE
- Examples required in || 5.10. Table Partitioning
- Re: ALTER INDEX fails on partitioned index
- [PATCH] Add schema and table names to partition error
- BUG #16302: too many range table entries - when count partition table(65538 childs)
- Trigger does not work after partitioning
- BUG #16276: Server crash on an invalid attempt to attach a partition to an index
- Inherited tables cannot be partitioned (version 12.0)
- pg_trigger.tgparentid
- v12 "won't fix" item regarding memory leak in "ATTACH PARTITION without AEL"; (or, relcache ref counting)
- Minor improvement to partition_bounds_copy()
- Another FK violation when referencing a multi-level partitioned table
- Partitioning Column needs to be Key
- table partitioning and access privileges
- BUG #16260: Repetitive accessing to partitioned table inside transaction causes server process crash
- FK violation in partitioned table after truncating a referenced partition
- table partition and column default
- 12.1 Partitioned Table Creation Bug
- BUG #16185: Trigger fires twice and with wrong TG_OP when updating partion key on partitioned table
- A row-level trigger on a partitioned table is not created on a sub-partition created later
- Adding a Partition in Painful
- deferrable FK constraints on partitioned rels
- update ALTER TABLE with ATTACH PARTITION lock mode
- Missing restriction with foreign keys referencing partitioned tables
- [BUG] Partition creation fails after dropping a column and adding a partial index
- parallel restore sometimes fails for FKs to partitioned tables
- dropping column prevented due to inherited index
- Drop Trigger Mechanism with Detached partitions
- default partitions can be partitioned and have default partitions?
- Proposal for syntax to support creation of partition tables when creating parent table
- BUG #16021: Can create Pk on partitioned table with foreign table as partition
- BUG #15724: Can't create foreign table as partition
- Creating partitions automatically at least on HASH?
- propagating replica identity to partitions
- Change ereport level for QueuePartitionConstraintValidation
- Improve default partition
- getting ERROR "relation 16401 has no triggers" with partition foreign key alter
- Some memory not freed at the exit of RelationBuildPartitionDesc()
- no default hash partition
- BUG #15933: Partition by multiple columns bug
- Attached partition not considering altered column properties of root partition.
- DISCARD TEMP results in "ERROR: cache lookup failed for type 0"
- Broken defenses against dropping a partitioning column
- Postgres 11: Table Partitioning and Primary Keys
- BUG #15752: Declarative partitions trigger with function attributes - empty attributes list on each partition
- [PATCH] Fix trigger argument propagation to child partitions
- BUG #15873: Attaching a partition fails because it sees deleted columns
- BUG #15677: Crash while deleting from partitioned table
- PostgreSQL v11.3 - Records are deleted from child table if partition key of parent table is changed
- pg_dump partitions can lead to inconsistent state after restore
- Generating partitioning tuple conversion maps faster
- Not able to create partition table using partition by list method
- pg_dump: fail to restore partition table with serial type
- hyrax vs. RelationBuildPartitionDesc
- behaviour change - default_tablesapce + partition table
- No mention of no CIC support for partitioned index in docs
- BUG #15832: COPY into a partitioned table breaks its indexes
- Documentation for partitioned indexes?
- BUG #15828: Server crashes inside CloneRowTriggersToPartition
- docs about FKs referencing partitioned tables
- set relispartition when attaching child index
- BUG #15672: PostgreSQL 11.1/11.2 crashed after dropping a partition table
- BUG #15792: Dependency remains on foreign key constraint when child detached from declarative partition.
- Current HEAD creates dumps that can't be loaded
- pg_dump is broken for partition tablespaces
- bug in update tuple routing with foreign partitions
- Odd behavior of partitioned ALTER TABLE ONLY ... ADD PRIMARY KEY
- ToDo: show size of partitioned table
- COLLATE: Hash partition vs UPDATE
- Issue in ExecCleanupTupleRouting()
- Assert failure when validating foreign keys
- Ordered Partitioned Table Scans
- BUG #15733: An insert destined at partition created after a column has been dropped from the parent table fails
- Back-branch bugs with fully-prunable UPDATEs
- Fix foreign key constraint check for partitioned tables
- Re: propagating replica identity to partitions
- partitioned tables referenced by FKs
- BUG #15728: an index that created with keyword ONLY, when add new partition ,should not be auto created
- Can create foreign table as parition
- Misleading errors with column references in default expressions and partition bounds
- BUG #15718: DROP TABLE fails if it's partitioned by a key of a deleted enum
- psql display of foreign keys
- BUG #15668: Server crash in transformPartitionRangeBounds
- ORDER BY LIMIT n does not work as described when using partitioned tables
- why doesn't DestroyPartitionDirectory hash_destroy?
- BUG #15694: Server crash in EXPLAIN with LATERAL and a partitioned table
- Update does not move row across foreign partitions in v11
- BUG #15684: Server crash on DROP partitioned table
- pg_partition_tree crashes for a non-defined relation
- BUG #15662: Row update in foreign partition does not move row based on partition key
- 'update returning *' returns 0 columns instead of empty row with 2 columns when (i) no rows updated and (ii) when applied to a partitioned table with sub-partition
- BUG #15642: UPDATE statements that change a partition key and FDW partitions problem.
- Documentation and code don't agree about partitioned table UPDATEs
- Add pg_partition_root to get top-most parent of a partition tree
- ALTER INDEX fails on partitioned index
- using expression syntax for partition bounds (was: Re: Boolean partitions syntax)
- problems with foreign keys on partitioned tables
- pgsql: Detach constraints when partitions are detached
- inherited primary key misbehavior
- BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT
- should ConstraintRelationId ins/upd cause relcache invals?
- Clarify behaviour of ADD COLUMN for partitioned tables
- unique, partitioned index fails to distinguish index key from INCLUDEd columns
- don't create storage when unnecessary
- rewrite ExecPartitionCheckEmitError
- The documentation on Partitions does not document the DEFAULT partition
- Should new partitions inherit their tablespace from their parent?
- Catalog views failed to show partitioned table information.
- Errors creating partitioned tables from existing using (LIKE <table>) after renaming table constraints
- BUG #15212: Default values in partition tables don't work as expected and allow NOT NULL violation
- create partitioned table with (like table INCLUDING ALL ) fails with "insufficient columns in UNIQUE constraint definition"
- pg_dump emits ALTER TABLE ONLY partitioned_table
- don't mark indexes invalid unnecessarily
- Add pg_partition_tree to doc index
- Speeding up INSERTs and UPDATEs to partitioned tables
- A small tweak to some comments for PartitionKeyData
- heap_sync seems rather oblivious to partitioned tables (wal_level=minimal)
- move PartitionBoundInfo creation code
- Performance improvements of INSERTs to a partitioned table
- Re: Ris: BUG #15482: Foreign keys to a partition (NOT A PARTITIONED) break the server
- partitioned indexes and tablespaces
- BUG #15490: The tablespace of an index defined on a partitioned table does not apply to a newly added partition
- Getting ERROR: could not open file "base/13164/t3_16388" with partition table with ON COMMIT
- BUG #15437: Segfault during insert into declarative partitioned table with a trigger creating partition
- BUG #15482: Foreign keys to a partition (NOT A PARTITIONED) break the server
- partition tree inspection functions
- postgres 11.0 partition table works unexpected in update
- COPY on partitioned table
- relhassubclass and partitioned indexes
- Multi-insert into a partitioned table with before insert row trigger causes server crash on latest HEAD
- constraints names on partitions
- BUG #15425: DETACH/ATTACH PARTITION bug
- pg_upgrade failed with ERROR: null relpartbound for relation 18159 error.
- Segfault when creating partition with a primary key and sql_drop trigger exists
- Unclear error message
- Assertion failure with ALTER TABLE ATTACH PARTITION with log_min_messages >= DEBUG1
- Multiple primary key on partition table?
- \d+ fails on index on partition
- move PartitionDispatchData definition to execPartition.c
- cache lookup failed for constraint when alter table referred by partition table
- pointless check in RelationBuildPartitionDesc
- BUG #15357: Data goes to wrong partition in HASH Partitioned table
- partitioning - changing a slot's descriptor is expensive
- BUG #15337: partition modify bug? cann't sync relcache in the same session immediate?
- [report] memory leaks in COPY FROM on partitioned table
- Range partition creation failing due to incorrectly deciding lower bound greater than upper
- Making "COPY partitioned_table FROM" faster
- PartitionDispatch's partdesc field
- no partition pruning when partitioning using array type
- Problem on pg_dump RANGE partition with expressions
- pgsql: Allow UNIQUE indexes on partitioned tables
- Cannot dump foreign key constraints on partitioned table
- Concurrency bug in UPDATE of partition-key
- TRUNCATE tables referenced by FKs on partitioned tables
- BUG #15251: query plan affected by grant select on partition
- pgsql: Fix crash when ALTER TABLE recreates indexes on partitions
- Remove mention in docs that foreign keys on partitioned tables are not supported
- alter index WITH ( storage_parameter = value [, ... ] ) for partition index.
- Server crashed with "TRAP: unrecognized TOAST vartag("1", File: "heaptuple.c", Line: 1490)"
- unexpected relkind: 73 ERROR with partition table index
- bug with expression index on partition
- BUG #15245: pg_stat_all_tables does not include partition master tables
- Needless additional partition check in INSERT?
- Incorrect comment in get_partition_dispatch_recurse
- Oddity in COPY FROM handling of check constraints on partition tables
- Indexes on partitioned tables and foreign partitions
- \d doesn't show partitioned table foreign keys
- Local partitioned indexes and pageinspect
- [doc fix] Trivial fix for PG 11 partitioning
- wal_consistency_checking reports an inconsistency on master branch
- minor fix for acquire_inherited_sample_rows
- FOR EACH ROW triggers on partitioned tables
- description of root_tuple_slot missing
- Boolean partitions syntax
- partitioning code reorganization
- minor fix for CloneRowTriggersToPartition
- Foreign keys and partitioned tables
- Native partitioning tablespace inheritance
- crash with sql language partition support function
- Commit 4dba331cb3 broke ATTACH PARTITION behaviour.
- relispartition for index partitions
- Add support for tuple routing to foreign partitions
- Restrict concurrent update/delete with UPDATE of partition key
- src/backend/partitioning
- pgsql: Foreign keys on partitioned tables
- reorganizing partitioning code (was: Re: [HACKERS] path toward faster partition pruning)
- TOAST table created for partitioned tables
- pgsql: Fix CommandCounterIncrement in partition-related DDL
- inserts into partitioned table may cause crash
- Postgres 10.3 delete on partition table cannot execute, out of memory.
- Re: unique indexes on partitioned tables
- pgsql: Local partitioned indexes
- BUG #15100: sequence behavior on failed insert to a partitioned table
- pgsql: Fix inadequate locking during get_rel_oids().
- non-bulk inserts and tuple routing
- pg_dump outputs invalid syntax for partitions with bool partkeys in pg10
- Incorrect comments in partition.c
- BUG #15093: hash partition exector plan is error!!!!
- update tuple routing and triggers
- BUG #15045: Partitioning not working as intended
- unique indexes on partitioned tables
- BUG #15042: Parition by list using enums odd behaviour
- list partition constraint shape
- Query related to alter table ... attach partition
- Reorder C includes in partition.c
- pg_(total_)relation_size and partitioned tables
- Trailing semicolons on partitioning example commands
- Proposal: Local indexes for partitioned table
- UPDATE of partition key
- pgsql: Allow UPDATE to move rows between partitions.
- overlapping ranges
- Useless code in ExecInitModifyTable
- Unique indexes & constraints on partitioned tables
- Mention ordered datums in PartitionBoundInfoData comment
- Constraint exclusion for partitioned tables
- Use get_greatest_modulus() in partition_bounds_equal()
- Use of uninitialized variables in ExecFindPartition() for parent partition without leaves (HEAD only)
- [Proposal] Make the optimiser aware of partitions ordering
- With commit 4e5fe9ad19, range partition missing handling for the NULL partition key
- default range partition and constraint exclusion
- PG10 partitioning - odd behavior/possible bug
- BUG #14928: Unchecked SearchSysCacheCopy1() return value
- Isn't partition drop code seriously at risk of deadlock?
- BUG #14927: Unchecked SearchSysCache1() return value
- pgsql: Add hash partitioning.
- BUG #14915: Create sub-partitioning using GENERATED ALWAYS AS IDENTITY will lead to system collapse.
- moving some partitioning code to executor
- Re: [POC] hash partitioning
- dropping partitioned tables without CASCADE
- pgsql: Implement table partitioning.
- Optimise default partition scanning while adding new partition
- Shaky coding for vacuuming partitioned relations
- Partitions: \d vs \d+
- Use of RangeVar for partitioned tables in autovacuum
- BUG #14822: Partition check constraint is ignored if parameter is passed from SQL function
- pgsql: Use MINVALUE/MAXVALUE instead of UNBOUNDED for range partition b
- expanding inheritance in partition bound order
- A bug in mapping attributes in ATExecAttachPartition()
- Adding support for Default partition in partitioning
- Hash Functions
- Tuple-routing for certain partitioned tables not working as expected
- Default Partition for Range
- hash partitioning based on v10Beta2
- Stats for triggers on partitioned tables not shown in EXPLAIN ANALYZE
- reload-through-the-top-parent switch the partition table
- dubious error message from partition.c
- Effect of dropping a partitioned table's column over time
- map_partition_varattnos() and whole-row vars
- Partitioning vs ON CONFLICT
- BUG #14759: insert into foreign data partitions fail
- [POC] hash partitioning
- cache lookup failed error for partition key with custom opclass
- Oddity in error handling of constraint violation in ExecConstraints for partitioned tables
- Multi column range partition table
- New partitioning - some feedback
- Partition : Append node over a single SeqScan
- BUG #14732: partitioned table cann't alter set parallel_workers?
- BUG #14725: Partition constraint issue on multiple columns as the key of range partition
- Declarative partitioning - another take
- Same expression more than once in partition key
- fix empty array expression in get_qual_for_list()
- Rules on table partitions
- RLS policy not getting honer while pg_dump on declarative partition
- Dropping partitioned table drops a previously detached partition
- PG10 Partitioned tables and relation_is_updatable()
- fix possible optimizations in ATExecAttachPartition()
- remove unnecessary flag has_null from PartitionBoundInfoData
- Relpartbound, toasting and pg_class
- BEFORE trigger can cause undetected partition constraint violation
- sketchy partcollation handling
- pg_class.relpartbound definition overly brittle
- "cannot specify finite value after UNBOUNDED" ... uh, why?
- pgsql: Code review focused on new node types added by partitioning supp
- BUG #14671: INSERT..RETURNING on partitioned table
- fix side-effect in get_qual_for_list()
- BUG #14666: Question on money type as the key of partitioned table
- unreachable code in partition.c
- BUG #14667: Question on money type as the key of partitioned table
- BUG #14657: Server process segmentation fault in v10, May 10th dev snapshot
- Event triggers + table partitioning cause server crash in current master
- NOT NULL constraints on range partition key columns
- fix hard-coded index in make_partition_op_expr
- Relcache leak when row triggers on partitions are fired by COPY
- multi-column range partition constraint