diff options
author | Magnus Hagander <magnus@hagander.net> | 2018-04-23 10:31:22 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2018-04-23 10:31:22 +0200 |
commit | 43cc4ee6340779f2a17fb5bab27355c2cb2e23a6 (patch) | |
tree | 51204207e7d260b01382ca350bcd584d17cf19fa /src | |
parent | 9cad926eb876a30d58a5b39789098da83a6ef91c (diff) | |
download | postgresql-43cc4ee6340779f2a17fb5bab27355c2cb2e23a6.tar.gz postgresql-43cc4ee6340779f2a17fb5bab27355c2cb2e23a6.zip |
Add comment explaining BGWORKER_BYPASS_ALLOWCONN
Suggested by Michael Paquier
Diffstat (limited to 'src')
-rw-r--r-- | src/include/postmaster/bgworker.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/postmaster/bgworker.h b/src/include/postmaster/bgworker.h index 9c49bb7f4b0..de16d11c2f0 100644 --- a/src/include/postmaster/bgworker.h +++ b/src/include/postmaster/bgworker.h @@ -145,9 +145,15 @@ extern void BackgroundWorkerInitializeConnection(const char *dbname, const char /* Just like the above, but specifying database and user by OID. */ extern void BackgroundWorkerInitializeConnectionByOid(Oid dboid, Oid useroid, uint32 flags); -/* Flags to BackgroundWorkerInitializeConnection et al */ +/* + * Flags to BackgroundWorkerInitializeConnection et al + * + * + * Allow bypassing datallowconn restrictions when connecting to database + */ #define BGWORKER_BYPASS_ALLOWCONN 1 + /* Block/unblock signals in a background worker process */ extern void BackgroundWorkerBlockSignals(void); extern void BackgroundWorkerUnblockSignals(void); |