Re: pgsql: Choose FK name correctly during partition attachment

2022-09-09 Thread John Naylor
On Fri, Sep 9, 2022 at 1:51 AM Tom Lane wrote: > > Alvaro Herrera writes: > > Choose FK name correctly during partition attachment > > Some of the buildfarm is unhappy with this, most clearly so here: > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lapwing=2022-09-08%2015%3A30%3A25

Re: pgsql: Choose FK name correctly during partition attachment

2022-09-08 Thread Tom Lane
Alvaro Herrera writes: > Choose FK name correctly during partition attachment Some of the buildfarm is unhappy with this, most clearly so here: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lapwing=2022-09-08%2015%3A30%3A25 ore was generated by `postgres: postgres regression [local]

pgsql: Choose FK name correctly during partition attachment

2022-09-08 Thread Alvaro Herrera
Choose FK name correctly during partition attachment During ALTER TABLE ATTACH PARTITION, if the name of a parent's foreign key constraint is already used on the partition, the code tries to choose another one before the FK attributes list has been populated, so the resulting constraint name was

pgsql: Choose FK name correctly during partition attachment

2022-09-08 Thread Alvaro Herrera
Choose FK name correctly during partition attachment During ALTER TABLE ATTACH PARTITION, if the name of a parent's foreign key constraint is already used on the partition, the code tries to choose another one before the FK attributes list has been populated, so the resulting constraint name was

pgsql: Choose FK name correctly during partition attachment

2022-09-08 Thread Alvaro Herrera
Choose FK name correctly during partition attachment During ALTER TABLE ATTACH PARTITION, if the name of a parent's foreign key constraint is already used on the partition, the code tries to choose another one before the FK attributes list has been populated, so the resulting constraint name was

pgsql: Choose FK name correctly during partition attachment

2022-09-08 Thread Alvaro Herrera
Choose FK name correctly during partition attachment During ALTER TABLE ATTACH PARTITION, if the name of a parent's foreign key constraint is already used on the partition, the code tries to choose another one before the FK attributes list has been populated, so the resulting constraint name was

pgsql: Choose FK name correctly during partition attachment

2022-09-08 Thread Alvaro Herrera
Choose FK name correctly during partition attachment During ALTER TABLE ATTACH PARTITION, if the name of a parent's foreign key constraint is already used on the partition, the code tries to choose another one before the FK attributes list has been populated, so the resulting constraint name was