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

Commitf2afd06

Browse files
knizhnikkelvich
authored andcommitted
fixes#21: create dummy portal
1 parent473ef14 commitf2afd06

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎bgwpool.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#include"storage/pg_sema.h"
99
#include"storage/shmem.h"
1010
#include"datatype/timestamp.h"
11+
#include"utils/portal.h"
12+
#include"tcop/pquery.h"
1113

1214
#include"bgwpool.h"
1315

@@ -23,6 +25,9 @@ static void BgwPoolMainLoop(BgwPool* pool)
2325

2426
BackgroundWorkerUnblockSignals();
2527
BackgroundWorkerInitializeConnection(pool->dbname,pool->dbuser);
28+
ActivePortal=CreatePortal("", true, true);
29+
ActivePortal->status=PORTAL_ACTIVE;
30+
ActivePortal->sourceText="";
2631

2732
while(true) {
2833
PGSemaphoreLock(&pool->available);

‎tests2/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ if [ "$1" = 'postgres' ]; then
8181
log_autovacuum_min_duration = 0
8282
8383
multimaster.workers = 4
84+
multimaster.use_raftable = false
8485
multimaster.max_nodes = 3
8586
multimaster.use_raftable = true
8687
multimaster.queue_size=52857600

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp