mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Re-run pgindent.
This is just to have a clean base state for testing of Piotr Stefaniak's latest version of FreeBSD indent. I fixed up a couple of places where pgindent would have changed format not-nicely. perltidy not included. Discussion: https://postgr.es/m/VI1PR03MB119959F4B65F000CA7CD9F6BF2CC0@VI1PR03MB1199.eurprd03.prod.outlook.com
This commit is contained in:
@@ -196,7 +196,8 @@ pg_be_scram_init(const char *username, const char *shadow_pass)
|
||||
* parsed.
|
||||
*/
|
||||
ereport(LOG,
|
||||
(errmsg("invalid SCRAM verifier for user \"%s\"", username)));
|
||||
(errmsg("invalid SCRAM verifier for user \"%s\"",
|
||||
username)));
|
||||
got_verifier = false;
|
||||
}
|
||||
}
|
||||
@@ -673,8 +674,8 @@ read_any_attr(char **input, char *attr_p)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_PROTOCOL_VIOLATION),
|
||||
errmsg("malformed SCRAM message"),
|
||||
errdetail("Attribute expected, but found invalid character %s.",
|
||||
sanitize_char(attr))));
|
||||
errdetail("Attribute expected, but found invalid character %s.",
|
||||
sanitize_char(attr))));
|
||||
if (attr_p)
|
||||
*attr_p = attr;
|
||||
begin++;
|
||||
@@ -1061,7 +1062,7 @@ read_client_final_message(scram_state *state, char *input)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_PROTOCOL_VIOLATION),
|
||||
errmsg("malformed SCRAM message"),
|
||||
errdetail("Garbage found at the end of client-final-message.")));
|
||||
errdetail("Garbage found at the end of client-final-message.")));
|
||||
|
||||
state->client_final_message_without_proof = palloc(proof - begin + 1);
|
||||
memcpy(state->client_final_message_without_proof, input, proof - begin);
|
||||
|
Reference in New Issue
Block a user