Re: constraints names on partitions

2018-10-15 Thread Tom Lane
Robert Haas writes: > On Fri, Oct 12, 2018 at 12:39 PM Alvaro Herrera > wrote: >> I just realized that the current code to assign constraint names to >> partitions is going against the SQL standard's idea that constraint >> names must be unique within a schema. When a partition is created, the >

Re: constraints names on partitions

2018-10-15 Thread Robert Haas
On Fri, Oct 12, 2018 at 12:39 PM Alvaro Herrera wrote: > I just realized that the current code to assign constraint names to > partitions is going against the SQL standard's idea that constraint > names must be unique within a schema. When a partition is created, the > foreign key gets exactly th