diff options
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/elog.h | 2 | ||||
| -rw-r--r-- | src/include/utils/guc.h | 2 | ||||
| -rw-r--r-- | src/include/utils/rel.h | 2 | ||||
| -rw-r--r-- | src/include/utils/selfuncs.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h index dbfd8efd269..ba0b7f6f79c 100644 --- a/src/include/utils/elog.h +++ b/src/include/utils/elog.h @@ -63,7 +63,7 @@ (PGSIXBIT(ch1) + (PGSIXBIT(ch2) << 6) + (PGSIXBIT(ch3) << 12) + \ (PGSIXBIT(ch4) << 18) + (PGSIXBIT(ch5) << 24)) -/* These macros depend on the fact that '0' becomes a zero in SIXBIT */ +/* These macros depend on the fact that '0' becomes a zero in PGSIXBIT */ #define ERRCODE_TO_CATEGORY(ec) ((ec) & ((1 << 12) - 1)) #define ERRCODE_IS_CATEGORY(ec) (((ec) & ~((1 << 12) - 1)) == 0) diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index a93ed77c9c3..6791e0cbc20 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -365,7 +365,7 @@ extern int set_config_option(const char *name, const char *value, GucContext context, GucSource source, GucAction action, bool changeVal, int elevel, bool is_reload); -extern void AlterSystemSetConfigFile(AlterSystemStmt *setstmt); +extern void AlterSystemSetConfigFile(AlterSystemStmt *altersysstmt); extern char *GetConfigOptionByName(const char *name, const char **varname, bool missing_ok); extern void GetConfigOptionByNum(int varnum, const char **values, bool *noshow); diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index b0fe19ebc54..2174bbafd14 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -75,7 +75,7 @@ typedef struct RelationData * when a relation has multiple new relfilenodes within a single * transaction, with one of them occurring in a subsequently aborted * subtransaction, e.g. BEGIN; TRUNCATE t; SAVEPOINT save; TRUNCATE t; - * ROLLBACK TO save; -- rd_newRelfilenode is now forgotten + * ROLLBACK TO save; -- rd_newRelfilenodeSubid is now forgotten */ SubTransactionId rd_createSubid; /* rel was created in current xact */ SubTransactionId rd_newRelfilenodeSubid; /* new relfilenode assigned in diff --git a/src/include/utils/selfuncs.h b/src/include/utils/selfuncs.h index 85d9ecbfc6e..9554952a8a1 100644 --- a/src/include/utils/selfuncs.h +++ b/src/include/utils/selfuncs.h @@ -109,7 +109,7 @@ typedef struct double numIndexPages; /* number of leaf pages visited */ double numIndexTuples; /* number of leaf tuples visited */ double spc_random_page_cost; /* relevant random_page_cost value */ - double num_sa_scans; /* # indexscans from ScalarArrayOps */ + double num_sa_scans; /* # indexscans from ScalarArrayOpExprs */ } GenericCosts; /* Hooks for plugins to get control when we ask for stats */ |
