95 errmsg(
"expected SASL response, got message type %d",
111 elog(
DEBUG4,
"processing received SASL response of length %d",
buf.len);
177 elog(
ERROR,
"output message found after SASL exchange failure");
201 elog(
ERROR,
"SASL exchange was abandoned, but CheckSASLAuth isn't tracking it");
int CheckSASLAuth(const pg_be_sasl_mech *mech, Port *port, char *shadow_pass, const char **logdetail, bool *abandoned)
void sendAuthRequest(Port *port, AuthRequest areq, const void *extradata, int extralen)
#define Assert(condition)
int errcode(int sqlerrcode)
#define ereport(elevel,...)
#define ERRCODE_PROTOCOL_VIOLATION
void pfree(void *pointer)
static char buf[DEFAULT_XLOG_SEG_SIZE]
int pq_getmessage(StringInfo s, int maxlen)
void pq_startmsgread(void)
#define AUTH_REQ_SASL_CONT
#define PqMsg_SASLResponse
#define AUTH_REQ_SASL_FIN
#define PG_SASL_EXCHANGE_FAILURE
#define PG_SASL_EXCHANGE_CONTINUE
#define PG_SASL_EXCHANGE_ABANDONED
#define PG_SASL_EXCHANGE_SUCCESS
void appendStringInfoChar(StringInfo str, char ch)
void initStringInfo(StringInfo str)