reconfigure is used to signal pg_pgbouncer background worker to recreate the pgbouncer configuration. The function waits until the pg_pgbouncer background worker signals back.
count is used to check if the waiting condition is satisfied. count is kept in shared memory and incremented in each refconfiguration process. Reconfigure notes the current count before signalling the background worker and waits to be signalled back. The waiting condition is satisfied if the new count is greater.
USAGE:
SYNOPSIS:
reconfigure is used to signal pg_pgbouncer background worker to recreate the pgbouncer configuration. The function waits until the pg_pgbouncer background worker signals back.
count is used to check if the waiting condition is satisfied. count is kept in shared memory and incremented in each refconfiguration process. Reconfigure notes the current count before signalling the background worker and waits to be signalled back. The waiting condition is satisfied if the new count is greater.