Re: Odd behavior of partitioned ALTER TABLE ONLY ... ADD PRIMARY KEY

2019-04-21 Thread Tom Lane
Alvaro Herrera writes: > On 2019-Apr-21, Tom Lane wrote: >> ISTM that this is a bug, not a feature: if there's any point at >> all to saying ONLY in this context, it's that we're not supposed >> to be doing anything as expensive as adding a new constraint to >> a child partition. No? So I think

Re: Odd behavior of partitioned ALTER TABLE ONLY ... ADD PRIMARY KEY

2019-04-21 Thread Alvaro Herrera
On 2019-Apr-21, Tom Lane wrote: > ISTM that this is a bug, not a feature: if there's any point at > all to saying ONLY in this context, it's that we're not supposed > to be doing anything as expensive as adding a new constraint to > a child partition. No? So I think that this should have failed.