Fix broken-FK-detection query in release notes Commits 53af9491a043 and 2d5fe514052a fixed a number of problems with foreign keys that reference partitioned tables, and a query to detect already broken FKs was supplied with the release notes for 17.1, 16.5, 15.9, 14.14, 13.17. However, that query has a bug that causes it to wrongly report self-referential foreign keys even when they are correct, so if the user was to drop and rebuild the FKs as indicated, the query would continue to report them as needing to be repaired. Here we fix the query to not have that problem.
Reported-by: Paul Foerster <paul.foers...@gmail.com> Discussion: https://postgr.es/m/5456a1d0-cd47-4315-9c65-71b27e7a2...@gmail.com Backpatch-through: 13-17 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4620cd9c1c80984419ff135bfc1a9c79ff16ab6f Modified Files -------------- doc/src/sgml/release-15.sgml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)