Toggle navigation

pre_auth_delay Developer Parameter

Type: integer
Default: 0
Min: 0
Max: 60
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.