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

Commitaa1e898

Browse files
committed
Fix concurrrently in typcache_rel_type_cache.sql
All injection points there must be local. Otherwise it affects paralleltests.Reported-by: Andres FreundDiscussion:https://postgr.es/m/b3ybc66l6lhmtzj2n7ypumz5yjz7njc46sddsqshdtstgj74ah%40qgtn6nzokj6a
1 parentb8a0460 commitaa1e898

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

‎src/test/modules/typcache/expected/typcache_rel_type_cache.out

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
-- successful type cache invalidation by relation oid.
99
--
1010
CREATE EXTENSION injection_points;
11+
-- Make all injection points local to this process, for concurrency.
12+
SELECT injection_points_set_local();
13+
injection_points_set_local
14+
----------------------------
15+
16+
(1 row)
17+
1118
CREATE TABLE t (i int);
1219
SELECT injection_points_attach('typecache-before-rel-type-cache-insert', 'error');
1320
injection_points_attach

‎src/test/modules/typcache/sql/typcache_rel_type_cache.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
CREATE EXTENSION injection_points;
1212

13+
-- Make all injection points local to this process, for concurrency.
14+
SELECT injection_points_set_local();
15+
1316
CREATETABLEt (iint);
1417
SELECT injection_points_attach('typecache-before-rel-type-cache-insert','error');
1518
SELECT'(1)'::t;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp