On Wed, Nov 27, 2024 at 12:53 AM Alvaro Herrera wrote:
> On 2024-Nov-20, Amit Langote wrote:
> > On Tue, Nov 19, 2024 at 6:41 PM Alvaro Herrera
> > wrote:
>
> > Here's an example that I think matches the above description, which,
> > ISTM, leads to a state similar to what one would encounter wit
On 2024-Nov-20, Amit Langote wrote:
> On Tue, Nov 19, 2024 at 6:41 PM Alvaro Herrera
> wrote:
> Here's an example that I think matches the above description, which,
> ISTM, leads to a state similar to what one would encounter with my
> patch as described earlier:
>
> create table parent (a int
On Tue, Nov 19, 2024 at 6:41 PM Alvaro Herrera wrote:
> On 2024-Nov-14, Amit Langote wrote:
>
> > Sorry, here's the full example. Note I'd changed both
> > AddRelationNotNullConstraints() and AdjustNotNullInheritance() to not
> > throw an error *if* the table is a leaf partition when the NO INHER
On 2024-Nov-14, Amit Langote wrote:
> Sorry, here's the full example. Note I'd changed both
> AddRelationNotNullConstraints() and AdjustNotNullInheritance() to not
> throw an error *if* the table is a leaf partition when the NO INHERIT
> of an existing constraint doesn't match that of the new con
On Wed, Nov 13, 2024 at 10:49 PM Alvaro Herrera wrote:
> On 2024-Nov-13, Amit Langote wrote:
>
> > I rebased my patch over 14e87ffa5c54 and noticed that NOT NULL
> > constraints can also (or not) be marked NO INHERIT. I think we should
> > allow NO INHERIT NOT NULL constraints on leaf partitions
On 2024-Nov-13, Amit Langote wrote:
> I rebased my patch over 14e87ffa5c54 and noticed that NOT NULL
> constraints can also (or not) be marked NO INHERIT. I think we should
> allow NO INHERIT NOT NULL constraints on leaf partitions just like
> CHECK constraints, so changed AddRelationNotNullConst
On Tue, Nov 12, 2024 at 5:46 PM Alvaro Herrera wrote:
> On 2024-Nov-11, Amit Langote wrote:
>
> > The restriction also exists in the CREATE TABLE PARTITION OF path:
> >
> > [...]
> >
> > I think we can remove the restriction at least for the leaf partition
> > case just like in the ATTACH PARTITIO
On 2024-Nov-11, Amit Langote wrote:
> The restriction also exists in the CREATE TABLE PARTITION OF path:
>
> [...]
>
> I think we can remove the restriction at least for the leaf partition
> case just like in the ATTACH PARTITION path.
Sure, WFM.
--
Álvaro Herrera 48°01'N 7°57'E
On Fri, Nov 8, 2024 at 2:54 AM Alvaro Herrera wrote:
> On 2024-Nov-07, Amit Langote wrote:
>
> > On Wed, Nov 6, 2024 at 9:34 PM Alvaro Herrera
> > wrote:
>
> > > Oh, hmm, that makes sense I guess. Still, while this restriction makes
> > > sense for inheritance, it doesn't IMO for partitioned ta
On 2024-Nov-07, Amit Langote wrote:
> On Wed, Nov 6, 2024 at 9:34 PM Alvaro Herrera wrote:
> > Oh, hmm, that makes sense I guess. Still, while this restriction makes
> > sense for inheritance, it doesn't IMO for partitioned tables. I would
> > even suggest that we drop enforcement of this rest
On Wed, Nov 6, 2024 at 9:34 PM Alvaro Herrera wrote:
> On 2024-Nov-06, Amit Langote wrote:
> > On Tue, Nov 5, 2024 at 9:01 PM Alvaro Herrera
> > wrote:
> > > While doing final review for not-null constraints, I noticed that the
> > > ALTER TABLE ATTACH PARTITION have this phrase:
> > >
> > >
On 2024-Nov-06, Amit Langote wrote:
> On Tue, Nov 5, 2024 at 9:01 PM Alvaro Herrera wrote:
> > While doing final review for not-null constraints, I noticed that the
> > ALTER TABLE ATTACH PARTITION have this phrase:
> >
> > If any of the CHECK constraints of the table being attached are mark
Hi Alvaro,
On Tue, Nov 5, 2024 at 9:01 PM Alvaro Herrera wrote:
>
> Hello,
>
> While doing final review for not-null constraints, I noticed that the
> ALTER TABLE ATTACH PARTITION have this phrase:
>
> If any of the CHECK constraints of the table being attached are marked NO
> INHERIT, th
On 2024-Nov-05, Alvaro Herrera wrote:
> All in all, I think this text serves no purpose and should be removed
> (from all live branches), as in the attached patch.
Attached here.
--
Álvaro HerreraBreisgau, Deutschland — https://www.EnterpriseDB.com/
"Los cuentos de hadas no dan al niñ
Hello,
While doing final review for not-null constraints, I noticed that the
ALTER TABLE ATTACH PARTITION have this phrase:
If any of the CHECK constraints of the table being attached are marked NO
INHERIT, the command will fail; such constraints must be recreated without
the
NO INHE
15 matches
Mail list logo