Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> Is it possible for unlocking the semaphore to wake another process other than
> our own? In which case checking log_lock_waits before signalling the semaphore
> arguably locks us into having log_lock_waits be PGC_POSTMASTER.
How you figure that?
> Currently it's PGC_SIGHUP which is odd since it could have been
> USERSET in the old regime.
Actually I changed it to SUSET yesterday. I don't see any strong reason
why we should disallow different processes having different settings;
however, if the DBA is trying to gather this info, random users
shouldn't be able to turn it off.
regards, tom lane