pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Ignore partitioned tables when processing ON COMMIT DELETE ROWS
3+ messages / 1 participants
[nested] [flat]

* pgsql: Ignore partitioned tables when processing ON COMMIT DELETE ROWS
@ 2018-11-05 00:16  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2018-11-05 00:16 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ignore partitioned tables when processing ON COMMIT DELETE ROWS

Those tables have no physical storage, making this option unusable with
partition trees as at commit time an actual truncation was attempted.
There are still issues with the way ON COMMIT actions are done when
mixing several action types, however this impacts as well inheritance
trees, so this issue will be dealt with later.

Reported-by: Rajkumar Raghuwanshi
Author: Amit Langote
Reviewed-by: Michael Paquier, Tom Lane
Discussion: https://postgr.es/m/CAKcux6mhgcjSiB_egqEAEFgX462QZtncU8QCAJ2HZwM-wWGVew@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/948af52324fb0ab635ebb1c1379980dbfc589aba

Modified Files
--------------
src/backend/catalog/heap.c         |  7 +++++++
src/test/regress/expected/temp.out | 17 +++++++++++++++++
src/test/regress/sql/temp.sql      | 14 ++++++++++++++
3 files changed, 38 insertions(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Ignore partitioned tables when processing ON COMMIT DELETE ROWS
@ 2018-11-05 00:16  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2018-11-05 00:16 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ignore partitioned tables when processing ON COMMIT DELETE ROWS

Those tables have no physical storage, making this option unusable with
partition trees as at commit time an actual truncation was attempted.
There are still issues with the way ON COMMIT actions are done when
mixing several action types, however this impacts as well inheritance
trees, so this issue will be dealt with later.

Reported-by: Rajkumar Raghuwanshi
Author: Amit Langote
Reviewed-by: Michael Paquier, Tom Lane
Discussion: https://postgr.es/m/CAKcux6mhgcjSiB_egqEAEFgX462QZtncU8QCAJ2HZwM-wWGVew@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4bc772e2afa55f26734ff3fbdf27601db030b7e5

Modified Files
--------------
src/backend/catalog/heap.c         |  7 +++++++
src/test/regress/expected/temp.out | 17 +++++++++++++++++
src/test/regress/sql/temp.sql      | 14 ++++++++++++++
3 files changed, 38 insertions(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Ignore partitioned tables when processing ON COMMIT DELETE ROWS
@ 2018-11-05 00:16  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2018-11-05 00:16 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ignore partitioned tables when processing ON COMMIT DELETE ROWS

Those tables have no physical storage, making this option unusable with
partition trees as at commit time an actual truncation was attempted.
There are still issues with the way ON COMMIT actions are done when
mixing several action types, however this impacts as well inheritance
trees, so this issue will be dealt with later.

Reported-by: Rajkumar Raghuwanshi
Author: Amit Langote
Reviewed-by: Michael Paquier, Tom Lane
Discussion: https://postgr.es/m/CAKcux6mhgcjSiB_egqEAEFgX462QZtncU8QCAJ2HZwM-wWGVew@mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/70c38e7080128e27cb6b9e20237f2c36807b0000

Modified Files
--------------
src/backend/catalog/heap.c         |  7 +++++++
src/test/regress/expected/temp.out | 17 +++++++++++++++++
src/test/regress/sql/temp.sql      | 14 ++++++++++++++
3 files changed, 38 insertions(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2018-11-05 00:16 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 00:16 pgsql: Ignore partitioned tables when processing ON COMMIT DELETE ROWS Michael Paquier <michael@paquier.xyz>
2018-11-05 00:16 pgsql: Ignore partitioned tables when processing ON COMMIT DELETE ROWS Michael Paquier <michael@paquier.xyz>
2018-11-05 00:16 pgsql: Ignore partitioned tables when processing ON COMMIT DELETE ROWS Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox