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

Commit43cc4ee

Browse files
committed
Add comment explaining BGWORKER_BYPASS_ALLOWCONN
Suggested by Michael Paquier
1 parent9cad926 commit43cc4ee

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/include/postmaster/bgworker.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,15 @@ extern void BackgroundWorkerInitializeConnection(const char *dbname, const char
145145
/* Just like the above, but specifying database and user by OID. */
146146
externvoidBackgroundWorkerInitializeConnectionByOid(Oiddboid,Oiduseroid,uint32flags);
147147

148-
/* Flags to BackgroundWorkerInitializeConnection et al */
148+
/*
149+
* Flags to BackgroundWorkerInitializeConnection et al
150+
*
151+
*
152+
* Allow bypassing datallowconn restrictions when connecting to database
153+
*/
149154
#defineBGWORKER_BYPASS_ALLOWCONN 1
150155

156+
151157
/* Block/unblock signals in a background worker process */
152158
externvoidBackgroundWorkerBlockSignals(void);
153159
externvoidBackgroundWorkerUnblockSignals(void);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp