mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +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:
@@ -179,7 +179,7 @@ static const char *err_gettext(const char *str) pg_attribute_format_arg(1);
|
||||
static pg_noinline void set_backtrace(ErrorData *edata, int num_skip);
|
||||
static void set_errdata_field(MemoryContextData *cxt, char **ptr, const char *str);
|
||||
static void write_console(const char *line, int len);
|
||||
static const char *process_log_prefix_padding(const char *p, int *padding);
|
||||
static const char *process_log_prefix_padding(const char *p, int *ppadding);
|
||||
static void log_line_prefix(StringInfo buf, ErrorData *edata);
|
||||
static void send_message_to_server_log(ErrorData *edata);
|
||||
static void send_message_to_frontend(ErrorData *edata);
|
||||
|
||||
Reference in New Issue
Block a user