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

Commita1b9b14

Browse files
committed
Use --load-extension to set up for contrib/tcn's isolation tests.
Oversight in commit418ec32: it's better to do it like this,else you have to drop and recreate the extension for eachpermutation. tcn.spec only has one permutation at present,so this doesn't speed it up any, but it's still a bad example.
1 parent97fe6d2 commita1b9b14

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

‎contrib/tcn/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ DATA = tcn--1.0.sql
77
PGFILEDESC = "tcn - trigger function notifying listeners"
88

99
ISOLATION = tcn
10+
ISOLATION_OPTS = --load-extension=tcn
1011

1112
ifdefUSE_PGXS
1213
PG_CONFIG = pg_config

‎contrib/tcn/specs/tcn.spec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
setup
99
{
10-
CREATEEXTENSIONtcn;
1110
CREATETABLEmytable (keyintPRIMARYKEY,valuetext);
1211
CREATETRIGGERtcntrigAFTERINSERTORUPDATEORDELETEONmytable
1312
FOREACHROWEXECUTEFUNCTIONtriggered_change_notification(mychannel);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp