diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/lib/sort_template.h | 2 | ||||
-rw-r--r-- | src/include/utils/guc.h | 13 |
2 files changed, 7 insertions, 8 deletions
diff --git a/src/include/lib/sort_template.h b/src/include/lib/sort_template.h index 771c789ced0..24d6d0006cf 100644 --- a/src/include/lib/sort_template.h +++ b/src/include/lib/sort_template.h @@ -241,7 +241,7 @@ ST_SCOPE void ST_SORT(ST_ELEMENT_TYPE *first, size_t n /* * Find the median of three values. Currently, performance seems to be best - * if the the comparator is inlined here, but the med3 function is not inlined + * if the comparator is inlined here, but the med3 function is not inlined * in the qsort function. */ static pg_noinline ST_ELEMENT_TYPE * diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index 1892c7927b4..7894940741e 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -90,13 +90,12 @@ typedef enum * dividing line between "interactive" and "non-interactive" sources for * error reporting purposes. * - * PGC_S_TEST is used when testing values to be used later ("doit" will always - * be false, so this never gets stored as the actual source of any value). - * For example, ALTER DATABASE/ROLE tests proposed per-database or per-user - * defaults this way, and CREATE FUNCTION tests proposed function SET clauses - * this way. This is an interactive case, but it needs its own source value - * because some assign hooks need to make different validity checks in this - * case. In particular, references to nonexistent database objects generally + * PGC_S_TEST is used when testing values to be used later. For example, + * ALTER DATABASE/ROLE tests proposed per-database or per-user defaults this + * way, and CREATE FUNCTION tests proposed function SET clauses this way. + * This is an interactive case, but it needs its own source value because + * some assign hooks need to make different validity checks in this case. + * In particular, references to nonexistent database objects generally * shouldn't throw hard errors in this case, at most NOTICEs, since the * objects might exist by the time the setting is used for real. * |