pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedUpdate limitations for declarative partitioning
5+ messages / 3 participants
[nested] [flat]
Commits from this thread:
2020-08-31 97dc0d1d58 0ebe82a941 doc: Update partitioning limitation on BEFORE triggers
* Update limitations for declarative partitioning
@ 2020-08-08 02:16 Erwin Brandstetter <brsaweda@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Erwin Brandstetter @ 2020-08-08 02:16 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org
The release notes for pg 13 advertise a new feature in
https://www.postgresql.org/docs/13/release-13.html#DDL-PARTITION-PRUNING
-
>
> Allow BEFORE row-level triggers
> <https://www.postgresql.org/docs/13/triggers.html; on partitioned tables
> (Álvaro Herrera)
>
> These triggers cannot change which partition is the destination.
>
- But the manual still warns at
https://www.postgresql.org/docs/13/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE-LIMITATIONS
BEFORE ROW triggers, if necessary, must be defined on individual
> partitions, not the partitioned table.
>
Looks like that "limitation" can go now? Or reduced to something like:
"BEFORE ROW triggers on the partitioned table cannot change which partition
is the destination."
Regards
Erwin
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Update limitations for declarative partitioning
@ 2020-08-08 03:38 Alvaro Herrera <alvherre@2ndquadrant.com>
parent: Erwin Brandstetter <brsaweda@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Alvaro Herrera @ 2020-08-08 03:38 UTC (permalink / raw)
To: Erwin Brandstetter <brsaweda@gmail.com>; +Cc: pgsql-docs@lists.postgresql.org
On 2020-Aug-08, Erwin Brandstetter wrote:
> - But the manual still warns at
> https://www.postgresql.org/docs/13/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE-LIMITATIONS
>
> BEFORE ROW triggers, if necessary, must be defined on individual
> > partitions, not the partitioned table.
> >
>
> Looks like that "limitation" can go now? Or reduced to something like:
>
> "BEFORE ROW triggers on the partitioned table cannot change which partition
> is the destination."
Oh, right, I'll patch that up tomorrow. Thanks for pointing it out.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Update limitations for declarative partitioning
@ 2020-08-30 21:39 Erwin Brandstetter <brsaweda@gmail.com>
parent: Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 1 reply; 5+ messages in thread
From: Erwin Brandstetter @ 2020-08-30 21:39 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Looking at
https://www.postgresql.org/docs/devel/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE-LIMITATIONS
... the issue seems unchanged?
Regards
Erwin
On Sat, 8 Aug 2020 at 05:38, Alvaro Herrera <alvherre@2ndquadrant.com>
wrote:
> On 2020-Aug-08, Erwin Brandstetter wrote:
>
> > - But the manual still warns at
> >
> https://www.postgresql.org/docs/13/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE-LIMITATIONS
> >
> > BEFORE ROW triggers, if necessary, must be defined on individual
> > > partitions, not the partitioned table.
> > >
> >
> > Looks like that "limitation" can go now? Or reduced to something like:
> >
> > "BEFORE ROW triggers on the partitioned table cannot change which
> partition
> > is the destination."
>
> Oh, right, I'll patch that up tomorrow. Thanks for pointing it out.
>
> --
> Álvaro Herrera https://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Update limitations for declarative partitioning
@ 2020-08-31 02:18 Michael Paquier <michael@paquier.xyz>
parent: Erwin Brandstetter <brsaweda@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Michael Paquier @ 2020-08-31 02:18 UTC (permalink / raw)
To: Erwin Brandstetter <brsaweda@gmail.com>; +Cc: pgsql-docs@lists.postgresql.org, Alvaro Herrera <alvherre@2ndquadrant.com>
On Sun, Aug 30, 2020 at 11:39:59PM +0200, Erwin Brandstetter wrote:
> Looking at
> https://www.postgresql.org/docs/devel/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE-LIMITATIONS
> ... the issue seems unchanged?
Indeed, there is no fix in the code tree. Alvaro? If there is no
update, I'll go fix that myself.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Update limitations for declarative partitioning
@ 2020-09-01 03:01 Michael Paquier <michael@paquier.xyz>
parent: Michael Paquier <michael@paquier.xyz>
0 siblings, 0 replies; 5+ messages in thread
From: Michael Paquier @ 2020-09-01 03:01 UTC (permalink / raw)
To: Erwin Brandstetter <brsaweda@gmail.com>; +Cc: pgsql-docs@lists.postgresql.org, Alvaro Herrera <alvherre@2ndquadrant.com>
On Mon, Aug 31, 2020 at 11:18:55AM +0900, Michael Paquier wrote:
> Indeed, there is no fix in the code tree. Alvaro? If there is no
> update, I'll go fix that myself.
For the archives: this has been done with 97dc0d1.
(Thanks, Alvaro!)
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2020-09-01 03:01 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-08-08 02:16 Update limitations for declarative partitioning Erwin Brandstetter <brsaweda@gmail.com>
2020-08-08 03:38 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2020-08-30 21:39 ` Erwin Brandstetter <brsaweda@gmail.com>
2020-08-31 02:18 ` Michael Paquier <michael@paquier.xyz>
2020-09-01 03:01 ` 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