Home
last modified time | relevance | path

Searched refs:BACKENDKEY_LEN (Results 1 – 3 of 3) sorted by relevance

/dports/databases/pgbouncer/pgbouncer-1.16.0/include/
H A Dbouncer.h201 #define BACKENDKEY_LEN 8 macro
428 uint8_t cancel_key[BACKENDKEY_LEN]; /* client: generated, server: remote */
/dports/databases/pgbouncer/pgbouncer-1.16.0/src/
H A Dserver.c174 if (!mbuf_get_bytes(&pkt->data, BACKENDKEY_LEN, &ckey)) { in handle_server_startup()
178 memcpy(server->cancel_key, ckey, BACKENDKEY_LEN); in handle_server_startup()
H A Dclient.c862 if (mbuf_avail_for_read(&pkt->data) == BACKENDKEY_LEN in handle_client_startup()
863 && mbuf_get_bytes(&pkt->data, BACKENDKEY_LEN, &key)) in handle_client_startup()
865 memcpy(client->cancel_key, key, BACKENDKEY_LEN); in handle_client_startup()