mirror of
https://github.com/postgres/postgres.git
synced 2025-12-22 17:42:17 +03:00
Fix typos in comments, code and documentation
While on it, newlines are removed from the end of two elog() strings.
The others are simple grammar mistakes. One comment in pg_upgrade
referred incorrectly to sequences since a7e5457.
Author: Justin Pryzby
Discussion: https://postgr.es/m/20221230231257.GI1153@telsasoft.com
Backpatch-through: 11
This commit is contained in:
@@ -11391,7 +11391,7 @@ get_opclass_name(Oid opclass, Oid actual_datatype,
|
||||
|
||||
/*
|
||||
* generate_opclass_name
|
||||
* Compute the name to display for a opclass specified by OID
|
||||
* Compute the name to display for an opclass specified by OID
|
||||
*
|
||||
* The result includes all necessary quoting and schema-prefixing.
|
||||
*/
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*--------------------------------------------------------------------
|
||||
* guc_internals.h
|
||||
* guc_internal.h
|
||||
*
|
||||
* Declarations shared between backend/utils/misc/guc.c and
|
||||
* backend/utils/misc/guc-file.l
|
||||
*
|
||||
* Copyright (c) 2000-2023, PostgreSQL Global Development Group
|
||||
*
|
||||
* src/include/utils/guc_internals.h
|
||||
* src/include/utils/guc_internal.h
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef GUC_INTERNALS_H
|
||||
#define GUC_INTERNALS_H
|
||||
#ifndef GUC_INTERNAL_H
|
||||
#define GUC_INTERNAL_H
|
||||
|
||||
#include "utils/guc.h"
|
||||
|
||||
@@ -23,4 +23,4 @@ extern void record_config_file_error(const char *errmsg,
|
||||
ConfigVariable **head_p,
|
||||
ConfigVariable **tail_p);
|
||||
|
||||
#endif /* GUC_INTERNALS_H */
|
||||
#endif /* GUC_INTERNAL_H */
|
||||
|
||||
Reference in New Issue
Block a user