Content-Length: 270476 | pFad | http://github.com/postgrespro/postgres_cluster/commit/43cc4ee6340779f2a17fb5bab27355c2cb2e23a6

E2 Add comment explaining BGWORKER_BYPASS_ALLOWCONN · postgrespro/postgres_cluster@43cc4ee · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/43cc4ee6340779f2a17fb5bab27355c2cb2e23a6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy