Filter:

Commits in 2021

Commits44 commits of which 15 backported
30Author
0Committer
16Reviewer
1Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
ReviewerBackportedFix double publish of child table's data.
5e97905acommitted by Amit Kapila
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.2REL_13_STABLE13.6
Data is copied twice when specifying both child and parent table in publicationDec 09, 2021
ReviewerDe-duplicate the result of pg_publication_tables view.
a61bff2bcommitted by Amit Kapila
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
pg_get_publication_tables() output duplicate relidDec 08, 2021
AuthorBackportedDoc: Add "Attach Partition" limitation during logical replication.
eb7828f5committed by Amit Kapila
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.2REL_13_STABLE13.6
pg_get_publication_tables() output duplicate relidDec 01, 2021
AuthorBackportedInvalidate partitions of table being attached/detached
d6f1e16ccommitted by Alvaro Herrera
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.1REL_13_STABLE13.5+3 more
Partition Check not updated when insert into a partitionOct 18, 2021
AuthorBackportedAdd missing word to comment in joinrels.c.
700c7331committed by Etsuro Fujita
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.1REL_13_STABLE13.5
a comment in joinrel.c: compute_partition_bounds()Oct 07, 2021
AuthorReviewerReported byEnsure interleaved_parts field is always initialized
16239c5fcommitted by David Rowley
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
Record a Bitmapset of non-pruned partitionsOct 01, 2021
AuthorUpdate README for resource owners about the resource types supported
cae6fc2bcommitted by Michael Paquier
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
resowner module README needs update?Sep 15, 2021
AuthorBackportedFix missing words in comment.
6ac763f1committed by Heikki Linnakangas
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14rc1
pgsql: Fix segfault during EvalPlanQual with mix of local and foreign pSep 07, 2021
AuthorBackportedUse appropriate tuple descriptor in FDW batching
650663b4committed by Tomas Vondra
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14rc1
a thinko in b676ac443b6Aug 12, 2021
ReviewerAllow ordered partition scans in more cases
db632fbccommitted by David Rowley
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
Record a Bitmapset of non-pruned partitionsAug 03, 2021
ReviewerTrack a Bitmapset of non-pruned partitions in RelOptInfo
475dbd0bcommitted by David Rowley
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
Record a Bitmapset of non-pruned partitionsAug 02, 2021
AuthorLLMBackportedFix bogus logic for reporting which hash partition conflicts.
dd2364cecommitted by Tom Lane
master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14beta3
BUG #17076: Server crashes on composing an error message about invalid modulus for a new table partitionJun 29, 2021
AuthorFix valgrind issue in pgoutput.c.
357cb8f0committed by Amit Kapila
REL_13_STABLE13.4
Decoding speculative insert with toast leaks memoryJun 18, 2021
AuthorLLMBackportedFix multiple crasher bugs in partitioned-table replication logic.
ab55d742committed by Tom Lane
master14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2REL_13_STABLE13.4
BUG #17055: Logical replication worker crashes when applying update of row that dose not exist in target partitiJun 11, 2021
AuthorLLMBackportedFix planner's row-mark code for inheritance from a foreign table.
88959234committed by Tom Lane
master14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2REL_13_STABLE13.4+1 more
parent foreign tables and row marksJun 02, 2021
AuthorBackportedpgoutput: Fix memory leak due to RelationSyncEntry.map.
eb89cb43committed by Amit Kapila
master14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2REL_13_STABLE13.4
Forget close an open relation in ReorderBufferProcessTXN()Jun 01, 2021
ReviewerPrevent asynchronous execution of direct foreign-table modifications.
a784859fcommitted by Etsuro Fujita
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
Inherited UPDATE/DELETE vs async executionMay 13, 2021
AuthorDoc: Remove outdated note about run-time partition pruning
1692d0c3committed by David Rowley
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
update/delete and execution-time partition pruningMay 11, 2021
AuthorImprove documentation on DETACH PARTITION lock levels
db6e1aebcommitted by Alvaro Herrera
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
ALTER TABLE .. DETACH PARTITION CONCURRENTLYMay 06, 2021
AuthorTrack detached partitions more accurately in partdescs
3fe773b1committed by Alvaro Herrera
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
ALTER TABLE .. DETACH PARTITION CONCURRENTLYMay 06, 2021
AuthorRemove unused argument of ATAddForeignConstraint
c250062dcommitted by Alvaro Herrera
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
useless argument of ATAddForeignKeyConstraintMay 05, 2021
AuthorAdd more tests with triggers on partitions for logical replication
2ecfeda3committed by Michael Paquier
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
Table refer leak in logical replicationApr 26, 2021
AuthorFix relcache inconsistency hazard in partition detach
8aba9322committed by Alvaro Herrera
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
ALTER TABLE .. DETACH PARTITION CONCURRENTLYApr 22, 2021
AuthorLLMBackportedFix bugs in RETURNING in cross-partition UPDATE cases.
27835b54committed by Tom Lane
REL_13_STABLE13.3REL_12_STABLE12.7REL_11_STABLE11.12
problem with RETURNING and update row movementApr 22, 2021
AuthorFix relation leak for subscribers firing triggers in logical replication
f3b141c4committed by Michael Paquier
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
Table refer leak in logical replicationApr 22, 2021
ReviewerAllow TRUNCATE command to truncate foreign tables.
8ff1c946committed by Fujii Masao
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
TRUNCATE on foreign tablesTRUNCATE on foreign tableApr 08, 2021
AuthorCleanup partition pruning step generation
5ac9c430committed by David Rowley
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
Wired if-statement in gen_partprune_steps_internalApr 08, 2021
AuthorLLMComment cleanup for a1115fa07.
0d46771ecommitted by Tom Lane
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
ModifyTable overheads in generic plansApr 07, 2021
AuthorLLMPostpone some more stuff out of ExecInitModifyTable.
a1115fa0committed by Tom Lane
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
ModifyTable overheads in generic plansApr 06, 2021
AuthorLLMPostpone some stuff out of ExecInitModifyTable.
c5b7ba4ecommitted by Tom Lane
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
ModifyTable overheads in generic plansApr 06, 2021
Reviewerpostgres_fdw: Allow partitions specified in LIMIT TO to be imported.
a3740c48committed by Fujii Masao
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
postgres_fdw: IMPORT FOREIGN SCHEMA ... LIMIT TO (partition)Apr 06, 2021
AuthorLLMRework planning and execution of UPDATE and DELETE.
86dc9005committed by Tom Lane
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
making update/delete of inheritance trees scale betterMar 31, 2021
ReviewerALTER TABLE ... DETACH PARTITION ... CONCURRENTLY
71f4c8c6committed by Alvaro Herrera
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
ALTER TABLE .. DETACH PARTITION CONCURRENTLYMar 25, 2021
ReviewerAdd a new GUC and a reloption to enable inserts in parallel-mode.
c8f78b61committed by Amit Kapila
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
Determine parallel-safety of partition relations for InsertsParallel INSERT (INTO ... SELECT ...)Mar 18, 2021
AuthorLLMAvoid creating duplicate cached plans for inherited FK constraints.
c3ffe348committed by Tom Lane
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
Huge memory consumption on partitioned table with FKsMar 10, 2021
AuthorReviewerEnable parallel SELECT for "INSERT INTO ... SELECT ...".
05c8482fcommitted by Amit Kapila
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
Parallel INSERT (INTO ... SELECT ...)Bug in query rewriter - hasModifyingCTE not getting setMar 10, 2021
AuthorBackportedFix use-after-free bug with AfterTriggersTableData.storeslot
25936fd4committed by Alvaro Herrera
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.3+2 more
[BUG] segfault during deleteFeb 27, 2021
ReviewerImprove new hash partition bound check error messages
efbfb642committed by Peter Eisentraut
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
Improve new hash partition bound check error messagesFeb 22, 2021
AuthorFix tuple routing to initialize batching only for inserts
927f453acommitted by Tomas Vondra
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
POC: postgres_fdw insert batchingFeb 17, 2021
ReviewerBackportedMake ExecGetInsertedCols() and friends more robust and improve comments.
54e51dcdcommitted by Heikki Linnakangas
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.3+2 more
No linked threadFeb 15, 2021
ReviewerBackportedFix permission checks on constraint violation errors on partitions.
6214e2b2committed by Heikki Linnakangas
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.2+2 more
No linked threadFeb 08, 2021
ReviewerRemove unused column atttypmod from initial tablesync query
4ad31bb2committed by Michael Paquier
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
row filtering for logical replicationFeb 02, 2021
ReviewerImplement support for bulk inserts in postgres_fdw
b663a413committed by Tomas Vondra
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
POC: postgres_fdw insert batchingJan 20, 2021
AuthorBackportedFix relation descriptor leak.
044aa9e7committed by Amit Kapila
master14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.2
Re: adding partitioned tables to publications[Bug Fix] Logical replication on partition table is very slow and CPU is 99%Jan 12, 2021