mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Add comment explaining BGWORKER_BYPASS_ALLOWCONN
Suggested by Michael Paquier
This commit is contained in:
parent
9cad926eb8
commit
43cc4ee634
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user