mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Harmonize more parameter names in bulk.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in optimizer, parser, utility, libpq, and "commands" code, as well as in remaining library code. Do the same for all code related to frontend programs (with the exception of pg_dump/pg_dumpall related code). Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Later commits will handle ecpg and pg_dump/pg_dumpall. Author: Peter Geoghegan <pg@bowt.ie> Reviewed-By: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
This commit is contained in:
@@ -414,7 +414,7 @@ static void report_fork_failure_to_client(Port *port, int errnum);
|
||||
static CAC_state canAcceptConnections(int backend_type);
|
||||
static bool RandomCancelKey(int32 *cancel_key);
|
||||
static void signal_child(pid_t pid, int signal);
|
||||
static bool SignalSomeChildren(int signal, int targets);
|
||||
static bool SignalSomeChildren(int signal, int target);
|
||||
static void TerminateChildren(int signal);
|
||||
|
||||
#define SignalChildren(sig) SignalSomeChildren(sig, BACKEND_TYPE_ALL)
|
||||
@@ -2598,9 +2598,9 @@ ConnCreate(int serverFd)
|
||||
* to do here.
|
||||
*/
|
||||
static void
|
||||
ConnFree(Port *conn)
|
||||
ConnFree(Port *port)
|
||||
{
|
||||
free(conn);
|
||||
free(port);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user