mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +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:
@ -379,6 +379,7 @@ main(int argc, char *const argv[])
|
||||
for (list = g_declared_list; list != NULL;)
|
||||
{
|
||||
struct declared_list *this = list;
|
||||
|
||||
list = list->next;
|
||||
free(this);
|
||||
}
|
||||
|
@ -63,19 +63,19 @@ my %replace_types = (
|
||||
'opt_array_bounds' => '<index>',
|
||||
|
||||
# "ignore" means: do not create type and rules for this non-term-id
|
||||
'parse_toplevel' => 'ignore',
|
||||
'stmtmulti' => 'ignore',
|
||||
'CreateAsStmt' => 'ignore',
|
||||
'DeallocateStmt' => 'ignore',
|
||||
'ColId' => 'ignore',
|
||||
'type_function_name' => 'ignore',
|
||||
'ColLabel' => 'ignore',
|
||||
'Sconst' => 'ignore',
|
||||
'parse_toplevel' => 'ignore',
|
||||
'stmtmulti' => 'ignore',
|
||||
'CreateAsStmt' => 'ignore',
|
||||
'DeallocateStmt' => 'ignore',
|
||||
'ColId' => 'ignore',
|
||||
'type_function_name' => 'ignore',
|
||||
'ColLabel' => 'ignore',
|
||||
'Sconst' => 'ignore',
|
||||
'opt_distinct_clause' => 'ignore',
|
||||
'PLpgSQL_Expr' => 'ignore',
|
||||
'PLAssignStmt' => 'ignore',
|
||||
'plassign_target' => 'ignore',
|
||||
'plassign_equals' => 'ignore',);
|
||||
'PLpgSQL_Expr' => 'ignore',
|
||||
'PLAssignStmt' => 'ignore',
|
||||
'plassign_target' => 'ignore',
|
||||
'plassign_equals' => 'ignore',);
|
||||
|
||||
# these replace_line commands excise certain keywords from the core keyword
|
||||
# lists. Be sure to account for these in ColLabel and related productions.
|
||||
|
@ -943,8 +943,8 @@ initialize_SSL(PGconn *conn)
|
||||
|
||||
if ((cvstore = SSL_CTX_get_cert_store(SSL_context)) != NULL)
|
||||
{
|
||||
char *fname = NULL;
|
||||
char *dname = NULL;
|
||||
char *fname = NULL;
|
||||
char *dname = NULL;
|
||||
|
||||
if (conn->sslcrl && strlen(conn->sslcrl) > 0)
|
||||
fname = conn->sslcrl;
|
||||
@ -1467,8 +1467,8 @@ pgtls_close(PGconn *conn)
|
||||
{
|
||||
/*
|
||||
* In the non-SSL case, just remove the crypto callbacks if the
|
||||
* connection has then loaded. This code path has no dependency
|
||||
* on any pending SSL calls.
|
||||
* connection has then loaded. This code path has no dependency on
|
||||
* any pending SSL calls.
|
||||
*/
|
||||
if (conn->crypto_loaded)
|
||||
destroy_needed = true;
|
||||
|
@ -644,7 +644,7 @@ pqTraceOutputMessage(PGconn *conn, const char *message, bool toServer)
|
||||
if (!toServer)
|
||||
pqTraceOutputS(conn->Pfdebug, message, &logCursor);
|
||||
else
|
||||
fprintf(conn->Pfdebug, "Sync"); /* no message content */
|
||||
fprintf(conn->Pfdebug, "Sync"); /* no message content */
|
||||
break;
|
||||
case 't': /* Parameter Description */
|
||||
pqTraceOutputt(conn->Pfdebug, message, &logCursor, regress);
|
||||
|
Reference in New Issue
Block a user