mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +03:00
Harmonize parameter names in storage and AM code.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in storage, catalog, access method, executor, and logical replication code, as well as in miscellaneous utility/library code. Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Later commits will do the same for other parts of the codebase. 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:
@@ -67,11 +67,11 @@ typedef struct CopyToStateData *CopyToState;
|
||||
|
||||
typedef int (*copy_data_source_cb) (void *outbuf, int minread, int maxread);
|
||||
|
||||
extern void DoCopy(ParseState *state, const CopyStmt *stmt,
|
||||
extern void DoCopy(ParseState *pstate, const CopyStmt *stmt,
|
||||
int stmt_location, int stmt_len,
|
||||
uint64 *processed);
|
||||
|
||||
extern void ProcessCopyOptions(ParseState *pstate, CopyFormatOptions *ops_out, bool is_from, List *options);
|
||||
extern void ProcessCopyOptions(ParseState *pstate, CopyFormatOptions *opts_out, bool is_from, List *options);
|
||||
extern CopyFromState BeginCopyFrom(ParseState *pstate, Relation rel, Node *whereClause,
|
||||
const char *filename,
|
||||
bool is_program, copy_data_source_cb data_source_cb, List *attnamelist, List *options);
|
||||
@@ -89,7 +89,7 @@ extern DestReceiver *CreateCopyDestReceiver(void);
|
||||
/*
|
||||
* internal prototypes
|
||||
*/
|
||||
extern CopyToState BeginCopyTo(ParseState *pstate, Relation rel, RawStmt *query,
|
||||
extern CopyToState BeginCopyTo(ParseState *pstate, Relation rel, RawStmt *raw_query,
|
||||
Oid queryRelId, const char *filename, bool is_program,
|
||||
List *attnamelist, List *options);
|
||||
extern void EndCopyTo(CopyToState cstate);
|
||||
|
Reference in New Issue
Block a user