mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Initial pgindent and pgperltidy run for v14.
Also "make reformat-dat-files". The only change worthy of note is that pgindent messed up the formatting of launcher.c's struct LogicalRepWorkerId, which led me to notice that that struct wasn't used at all anymore, so I just took it out.
This commit is contained in:
@ -711,17 +711,16 @@ recv_password_packet(Port *port)
|
||||
if (mtype != 'p')
|
||||
{
|
||||
/*
|
||||
* If the client just disconnects without offering a password,
|
||||
* don't make a log entry. This is legal per protocol spec and in
|
||||
* fact commonly done by psql, so complaining just clutters the
|
||||
* log.
|
||||
* If the client just disconnects without offering a password, don't
|
||||
* make a log entry. This is legal per protocol spec and in fact
|
||||
* commonly done by psql, so complaining just clutters the log.
|
||||
*/
|
||||
if (mtype != EOF)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_PROTOCOL_VIOLATION),
|
||||
errmsg("expected password response, got message type %d",
|
||||
mtype)));
|
||||
return NULL; /* EOF or bad message type */
|
||||
return NULL; /* EOF or bad message type */
|
||||
}
|
||||
|
||||
initStringInfo(&buf);
|
||||
|
Reference in New Issue
Block a user