Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd0c12b9

Browse files
committed
Fix typo in foreign_key.sql
Introduced byeec0040.Author: Chao Li <lic@highgo.com>Discussion:https://postgr.es/m/CAEoWx2kKMdtWKQiYNuwG2L41YwHA7G3sUsRfD9esPJwZyX1+Eg@mail.gmail.comBackpatch-through: 18
1 parent5a900d6 commitd0c12b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,7 @@ Indexes:
17501750
Referenced by:
17511751
TABLE "fk_partitioned_fk" CONSTRAINT "fk_partitioned_fk_a_b_fkey" FOREIGN KEY (a, b) REFERENCES fk_notpartitioned_pk(a, b)
17521752

1753-
-- Check theexsting FK trigger
1753+
-- Check theexisting FK trigger
17541754
SELECT conname, tgrelid::regclass as tgrel, regexp_replace(tgname, '[0-9]+', 'N') as tgname, tgtype
17551755
FROM pg_trigger t JOIN pg_constraint c ON (t.tgconstraint = c.oid)
17561756
WHERE tgrelid IN (SELECT relid FROM pg_partition_tree('fk_partitioned_fk'::regclass)

‎src/test/regress/sql/foreign_key.sql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ UPDATE fk_notpartitioned_pk SET b = 2504 WHERE a = 2500;
12961296
-- check psql behavior
12971297
\d fk_notpartitioned_pk
12981298

1299-
-- Check theexsting FK trigger
1299+
-- Check theexisting FK trigger
13001300
SELECT conname, tgrelid::regclassas tgrel, regexp_replace(tgname,'[0-9]+','N')as tgname, tgtype
13011301
FROM pg_trigger tJOIN pg_constraint cON (t.tgconstraint=c.oid)
13021302
WHERE tgrelidIN (SELECT relidFROM pg_partition_tree('fk_partitioned_fk'::regclass)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp