Updating the patch with some minor refinements: - remove redundant list_free(inheritors) - use foreach_oid in place of foreach - explain input args to the new ChooseConstraintNameForRelation function
Also reporting that I'm seeing this bug manifest all the way back to PG14
(haven't looked further since versions older than that are EOLd).
Importantly, besides latest master, the current patch applies cleanly to
PG18 (plain git apply).
In addition, it also applies without any conflicts to PG17, PG16 and PG15
(git apply --3way).
It doesn't apply cleanly to PG14 (missing src/test/regress/{sql,
expected}/constraints.{sql, out} files),
but since its EOL is a couple of months away I don't think back-porting
this to it is that important anyway.
Thanks,
Marko
0001-Prevent-constraint-name-conflicts-in-partition-trees.patch
Description: Binary data
