Re: FK violation in partitioned table after truncating a referencedpartition - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: FK violation in partitioned table after truncating a referencedpartition
Date
Msg-id 20200206220525.GA31831@alvherre.pgsql
Whole thread Raw
In response to Re: FK violation in partitioned table after truncating a referencedpartition  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-bugs
On 2020-Feb-06, Alvaro Herrera wrote:

> Also, I think we should patch the documentation like this, because this
> effect is not 100% obvious.  (For example, if the partition strategy is
> identical in both referenced and referencing tables, you would wish that
> only the equivalent partition is truncated.  However, I doubt this can
> be really implemented.)

And of course, I forgot to attach the file.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: FK violation in partitioned table after truncating a referencedpartition
Next
From: Andres Freund
Date:
Subject: Re: BUG #16247: Cast error on integer