PostgreSQL Source Code: contrib/auth_delay/auth_delay.c File Reference (original) (raw)
#include "[postgres.h](postgres%5F8h%5Fsource.html)"
#include <limits.h>
#include "[libpq/auth.h](auth%5F8h%5Fsource.html)"
#include "[utils/guc.h](guc%5F8h%5Fsource.html)"
Go to the source code of this file.
Functions | |
---|---|
PG_MODULE_MAGIC_EXT (.name="auth_delay",.version=PG_VERSION) | |
static void | auth_delay_checks (Port *port, int status) |
void | _PG_init (void) |
◆ _PG_init()
Definition at line 55 of file auth_delay.c.
56{
57
59 "Milliseconds to delay before reporting authentication failure",
60 NULL,
62 0,
63 0, INT_MAX / 1000,
66 NULL,
67 NULL,
68 NULL);
69
71
72
75}
ClientAuthentication_hook_type ClientAuthentication_hook
static void auth_delay_checks(Port *port, int status)
static int auth_delay_milliseconds
static ClientAuthentication_hook_type original_client_auth_hook
void MarkGUCPrefixReserved(const char *className)
void DefineCustomIntVariable(const char *name, const char *short_desc, const char *long_desc, int *valueAddr, int bootValue, int minValue, int maxValue, GucContext context, int flags, GucIntCheckHook check_hook, GucIntAssignHook assign_hook, GucShowHook show_hook)
References auth_delay_checks(), auth_delay_milliseconds, ClientAuthentication_hook, DefineCustomIntVariable(), GUC_UNIT_MS, MarkGUCPrefixReserved(), original_client_auth_hook, and PGC_SIGHUP.
◆ auth_delay_checks()
static void auth_delay_checks ( Port * port, int status ) | static |
---|
◆ PG_MODULE_MAGIC_EXT()
PG_MODULE_MAGIC_EXT | ( | . | name = "auth_delay", |
---|---|---|---|
. | version = PG_VERSION | ||
) |
◆ auth_delay_milliseconds
int auth_delay_milliseconds = 0 | static |
---|