diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test/modules/typcache/expected/typcache_rel_type_cache.out | 7 | ||||
-rw-r--r-- | src/test/modules/typcache/sql/typcache_rel_type_cache.sql | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/test/modules/typcache/expected/typcache_rel_type_cache.out b/src/test/modules/typcache/expected/typcache_rel_type_cache.out index b113e0bbd5d..a91bd72b9bd 100644 --- a/src/test/modules/typcache/expected/typcache_rel_type_cache.out +++ b/src/test/modules/typcache/expected/typcache_rel_type_cache.out @@ -8,6 +8,13 @@ -- successful type cache invalidation by relation oid. -- CREATE EXTENSION injection_points; +-- Make all injection points local to this process, for concurrency. +SELECT injection_points_set_local(); + injection_points_set_local +---------------------------- + +(1 row) + CREATE TABLE t (i int); SELECT injection_points_attach('typecache-before-rel-type-cache-insert', 'error'); injection_points_attach diff --git a/src/test/modules/typcache/sql/typcache_rel_type_cache.sql b/src/test/modules/typcache/sql/typcache_rel_type_cache.sql index 2c0a434d988..c1a3af509c0 100644 --- a/src/test/modules/typcache/sql/typcache_rel_type_cache.sql +++ b/src/test/modules/typcache/sql/typcache_rel_type_cache.sql @@ -10,6 +10,9 @@ CREATE EXTENSION injection_points; +-- Make all injection points local to this process, for concurrency. +SELECT injection_points_set_local(); + CREATE TABLE t (i int); SELECT injection_points_attach('typecache-before-rel-type-cache-insert', 'error'); SELECT '(1)'::t; |