PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <limits.h>
#include "libpq/auth.h"
#include "port.h"
#include "utils/guc.h"
#include "utils/timestamp.h"
Go to the source code of this file.
Functions | |
static void | auth_delay_checks (Port *port, int status) |
void | _PG_init (void) |
Variables | |
PG_MODULE_MAGIC | |
static int | auth_delay_milliseconds = 0 |
static ClientAuthentication_hook_type | original_client_auth_hook = NULL |
void _PG_init | ( | void | ) |
Definition at line 54 of file auth_delay.c.
References auth_delay_checks(), auth_delay_milliseconds, ClientAuthentication_hook, DefineCustomIntVariable(), GUC_UNIT_MS, MarkGUCPrefixReserved(), original_client_auth_hook, and PGC_SIGHUP.
|
static |
Definition at line 33 of file auth_delay.c.
References auth_delay_milliseconds, original_client_auth_hook, pg_usleep(), port, and STATUS_OK.
Referenced by _PG_init().
|
static |
Definition at line 24 of file auth_delay.c.
Referenced by _PG_init(), and auth_delay_checks().
|
static |
Definition at line 27 of file auth_delay.c.
Referenced by _PG_init(), and auth_delay_checks().
PG_MODULE_MAGIC |
Definition at line 21 of file auth_delay.c.