Re: don't mark indexes invalid unnecessarily

2018-12-05 Thread Alvaro Herrera
Pushed, thanks for the review. -- Álvaro Herrerahttps://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Re: don't mark indexes invalid unnecessarily

2018-12-05 Thread Alvaro Herrera
On 2018-Dec-05, Amit Langote wrote: > Hi, > > On 2018/12/04 7:50, Alvaro Herrera wrote: > > While working on FKs pointing to partitioned tables, I noticed that in > > PG11 we fail to produce a working dump in the case of a partitioned > > table that doesn't have partitions. > > > > The attached

Re: don't mark indexes invalid unnecessarily

2018-12-05 Thread Amit Langote
Hi, On 2018/12/04 7:50, Alvaro Herrera wrote: > While working on FKs pointing to partitioned tables, I noticed that in > PG11 we fail to produce a working dump in the case of a partitioned > table that doesn't have partitions. > > The attached patch fixes that. The fix makes sense. I see that t

don't mark indexes invalid unnecessarily

2018-12-03 Thread Alvaro Herrera
While working on FKs pointing to partitioned tables, I noticed that in PG11 we fail to produce a working dump in the case of a partitioned table that doesn't have partitions. The attached patch fixes that. In doing so, it breaks a test ... and analyzing that, it turns out that the test was broken