#include <sys/socket.h>
#include <sys/un.h>
#include <netdb.h>
#include <netinet/in.h>
Go to the source code of this file.
◆ AUTH_REQ_CRYPT
#define AUTH_REQ_CRYPT 4 /* crypt password. Not supported any more. */ |
◆ AUTH_REQ_GSS
#define AUTH_REQ_GSS 7 /* GSSAPI without wrap() */ |
◆ AUTH_REQ_GSS_CONT
#define AUTH_REQ_GSS_CONT 8 /* Continue GSS exchanges */ |
◆ AUTH_REQ_KRB4
#define AUTH_REQ_KRB4 1 /* Kerberos V4. Not supported any more. */ |
◆ AUTH_REQ_KRB5
#define AUTH_REQ_KRB5 2 /* Kerberos V5. Not supported any more. */ |
◆ AUTH_REQ_MAX
◆ AUTH_REQ_MD5
#define AUTH_REQ_MD5 5 /* md5 password */ |
◆ AUTH_REQ_OK
#define AUTH_REQ_OK 0 /* User is authenticated */ |
◆ AUTH_REQ_PASSWORD
#define AUTH_REQ_PASSWORD 3 /* Password */ |
◆ AUTH_REQ_SASL
#define AUTH_REQ_SASL 10 /* Begin SASL authentication */ |
◆ AUTH_REQ_SASL_CONT
#define AUTH_REQ_SASL_CONT 11 /* Continue SASL authentication */ |
◆ AUTH_REQ_SASL_FIN
#define AUTH_REQ_SASL_FIN 12 /* Final SASL message */ |
◆ AUTH_REQ_SSPI
#define AUTH_REQ_SSPI 9 /* SSPI negotiate without wrap() */ |
◆ CANCEL_REQUEST_CODE
◆ MAX_STARTUP_PACKET_LENGTH
#define MAX_STARTUP_PACKET_LENGTH 10000 |
◆ NEGOTIATE_GSS_CODE
◆ NEGOTIATE_SSL_CODE
◆ PG_PROTOCOL
#define PG_PROTOCOL |
( |
|
m, |
|
|
|
n |
|
) |
| (((m) << 16) | (n)) |
◆ PG_PROTOCOL_EARLIEST
◆ PG_PROTOCOL_LATEST
◆ PG_PROTOCOL_MAJOR
#define PG_PROTOCOL_MAJOR |
( |
|
v | ) |
((v) >> 16) |
◆ PG_PROTOCOL_MINOR
#define PG_PROTOCOL_MINOR |
( |
|
v | ) |
((v) & 0x0000ffff) |
◆ UNIXSOCK_PATH
Value:
snprintf(path, sizeof(path), "%s/.s.PGSQL.%d", \
#define AssertMacro(condition)
static const char * sockdir
Definition at line 38 of file pqcomm.h.
◆ UNIXSOCK_PATH_BUFLEN
#define UNIXSOCK_PATH_BUFLEN sizeof(((struct sockaddr_un *) NULL)->sun_path) |
◆ AuthRequest
◆ CancelRequestPacket
◆ MsgType
◆ PacketLen
◆ ProtocolVersion
◆ is_unixsock_path()
static bool is_unixsock_path |
( |
const char * |
path | ) |
|
|
inlinestatic |
◆ Db_user_namespace