pre_auth_delay Developer Parameter

Type: integer
Default: 0 (0s)
Min: 0 (0s)
Max: 60 (1min)
Unit: seconds (s)
Context: sighup
Restart: false

The amount of time to delay just after a new server process is forked, before it conducts the authentication procedure. This is intended to give developers an opportunity to attach to the server process with a debugger to trace down misbehavior in authentication. If this value is specified without units, it is taken as seconds. A value of zero (the default) disables the delay. This parameter can only be set in the postgresql.conf file or on the server command line.


Primarily used for attaching debuggers to sessions.