Re: [PATCH v1] [BUG #19507] Prevent constraint name conflicts in partition trees spanning multiple schemas
Re: [PATCH v1] [BUG #19507] Prevent constraint name conflicts in partition trees spanning multiple schemas
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
Re: Improve readability of if-statement in dmetaphone.c
От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
> On 4 Aug 2026, at 00:45, Tristan Partin wrote: > > clangd was warning on the indentation of the else-if statement with > a readability-misleading-indentation. I'll agree with clangd in this > instance. I had to stare at the block for a moment to understand what it > was doing. Figured I would throw the patch up in the event some > committer agreed. That is indeed a much better way to format the conditional, will fix. -- Daniel Gustafsson