Skip to content

Commit 43cc4ee

Browse files
committed
Add comment explaining BGWORKER_BYPASS_ALLOWCONN
Suggested by Michael Paquier
1 parent 9cad926 commit 43cc4ee

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
extern void BackgroundWorkerInitializeConnectionByOid(Oid dboid, Oid useroid, uint32 flags);
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
#define BGWORKER_BYPASS_ALLOWCONN 1
150155

156+
151157
/* Block/unblock signals in a background worker process */
152158
extern void BackgroundWorkerBlockSignals(void);
153159
extern void BackgroundWorkerUnblockSignals(void);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy