mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +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:
@@ -55,16 +55,16 @@ extern int64 nextval_internal(Oid relid, bool check_permissions);
|
||||
extern Datum nextval(PG_FUNCTION_ARGS);
|
||||
extern List *sequence_options(Oid relid);
|
||||
|
||||
extern ObjectAddress DefineSequence(ParseState *pstate, CreateSeqStmt *stmt);
|
||||
extern ObjectAddress DefineSequence(ParseState *pstate, CreateSeqStmt *seq);
|
||||
extern ObjectAddress AlterSequence(ParseState *pstate, AlterSeqStmt *stmt);
|
||||
extern void SequenceChangePersistence(Oid relid, char newrelpersistence);
|
||||
extern void DeleteSequenceTuple(Oid relid);
|
||||
extern void ResetSequence(Oid seq_relid);
|
||||
extern void ResetSequenceCaches(void);
|
||||
|
||||
extern void seq_redo(XLogReaderState *rptr);
|
||||
extern void seq_desc(StringInfo buf, XLogReaderState *rptr);
|
||||
extern void seq_redo(XLogReaderState *record);
|
||||
extern void seq_desc(StringInfo buf, XLogReaderState *record);
|
||||
extern const char *seq_identify(uint8 info);
|
||||
extern void seq_mask(char *pagedata, BlockNumber blkno);
|
||||
extern void seq_mask(char *page, BlockNumber blkno);
|
||||
|
||||
#endif /* SEQUENCE_H */
|
||||
|
||||
Reference in New Issue
Block a user