Typo with amtype = 's' in opr_sanity.sql
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-11-21T06:09:20Z
Lists: pgsql-hackers
Attachments
- opr-sanity-amtype.patch (text/x-diff) patch
Hi all, While rebasing a patch from 2016 related to sequence AMs (more about that later), I've bumped on a mistake from 8586bf7ed888 in opr_sanity.sql, as of: +SELECT p1.oid, p1.amname, p2.oid, p2.proname +FROM pg_am AS p1, pg_proc AS p2 +WHERE p2.oid = p1.amhandler AND p1.amtype = 's' AND It seems to me that this has been copy-pasted on HEAD from the sequence AM patch, but forgot to update amtype to 't'. While that's maybe cosmetic, I think that this could lead to unexpected results, so perhaps there is a point in doing a backpatch? Thoughts? -- Michael
Commits
-
Fix query checking consistency of table amhandlers in opr_sanity.sql
- deec80ef11d1 12.18 landed
- 5747f68ae2cb 13.14 landed
- 3dadeef5d9ff 14.11 landed
- 63e045c2dcf5 15.6 landed
- 43bbaa83f95c 16.2 landed
- 2f30226624b0 17.0 landed