]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix typo in foreign_key.sql
authorMichael Paquier <michael@paquier.xyz>
Sat, 2 Aug 2025 10:54:23 +0000 (19:54 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 2 Aug 2025 10:54:23 +0000 (19:54 +0900)
Introduced by eec0040c4bcd.

Author: Chao Li <lic@highgo.com>
Discussion: https://postgr.es/m/CAEoWx2kKMdtWKQiYNuwG2L41YwHA7G3sUsRfD9esPJwZyX1+Eg@mail.gmail.com
Backpatch-through: 18

src/test/regress/expected/foreign_key.out
src/test/regress/sql/foreign_key.sql

index f9bd252444f5373eedec4ef897045773b8c60f59..dc541d61adfa50e934109a36ec83772ebac036a9 100644 (file)
@@ -1750,7 +1750,7 @@ Indexes:
 Referenced by:
     TABLE "fk_partitioned_fk" CONSTRAINT "fk_partitioned_fk_a_b_fkey" FOREIGN KEY (a, b) REFERENCES fk_notpartitioned_pk(a, b)
 
--- Check the exsting FK trigger
+-- Check the existing FK trigger
 SELECT conname, tgrelid::regclass as tgrel, regexp_replace(tgname, '[0-9]+', 'N') as tgname, tgtype
 FROM pg_trigger t JOIN pg_constraint c ON (t.tgconstraint = c.oid)
 WHERE tgrelid IN (SELECT relid FROM pg_partition_tree('fk_partitioned_fk'::regclass)
index cfcecb4e911adde07cf08815770be1897f6f665c..39174ad1eb9a06d71fefc52d98aea87dcbbfbe9c 100644 (file)
@@ -1296,7 +1296,7 @@ UPDATE fk_notpartitioned_pk SET b = 2504 WHERE a = 2500;
 -- check psql behavior
 \d fk_notpartitioned_pk
 
--- Check the exsting FK trigger
+-- Check the existing FK trigger
 SELECT conname, tgrelid::regclass as tgrel, regexp_replace(tgname, '[0-9]+', 'N') as tgname, tgtype
 FROM pg_trigger t JOIN pg_constraint c ON (t.tgconstraint = c.oid)
 WHERE tgrelid IN (SELECT relid FROM pg_partition_tree('fk_partitioned_fk'::regclass)