1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-17 17:02:08 +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:
Tom Lane
2021-05-12 13:14:10 -04:00
parent e6ccd1ce16
commit def5b065ff
230 changed files with 2408 additions and 2125 deletions

View File

@ -454,7 +454,7 @@ SocketBackend(StringInfo inBuf)
* the type.
*/
if (pq_getmessage(inBuf, maxmsglen))
return EOF; /* suitable message already logged */
return EOF; /* suitable message already logged */
RESUME_CANCEL_INTERRUPTS();
return qtype;
@ -1350,8 +1350,8 @@ exec_parse_message(const char *query_string, /* string to execute */
ereport(DEBUG2,
(errmsg_internal("parse %s: %s",
*stmt_name ? stmt_name : "<unnamed>",
query_string)));
*stmt_name ? stmt_name : "<unnamed>",
query_string)));
/*
* Start up a transaction command so we can run parse analysis etc. (Note
@ -1606,8 +1606,8 @@ exec_bind_message(StringInfo input_message)
ereport(DEBUG2,
(errmsg_internal("bind %s to %s",
*portal_name ? portal_name : "<unnamed>",
*stmt_name ? stmt_name : "<unnamed>")));
*portal_name ? portal_name : "<unnamed>",
*stmt_name ? stmt_name : "<unnamed>")));
/* Find prepared statement */
if (stmt_name[0] != '\0')