summaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-04-12 10:46:17 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-04-12 10:46:17 +0300
commita10589a5128e841d3faf94a2d8417a4f5497c4ac (patch)
tree59dc1aada629f4db61a149407772f63a493beba5 /src/backend/utils
parent83aca89f7c3f913d960e2ea2d4d93b7d8e7a691d (diff)
downloadpostgresql-a10589a5128e841d3faf94a2d8417a4f5497c4ac.tar.gz
Remove duplicated words in comments.
David Rowley
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/adt/array_userfuncs.c4
-rw-r--r--src/backend/utils/misc/guc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/adt/array_userfuncs.c b/src/backend/utils/adt/array_userfuncs.c
index c0bfd33174..4177d2da17 100644
--- a/src/backend/utils/adt/array_userfuncs.c
+++ b/src/backend/utils/adt/array_userfuncs.c
@@ -719,7 +719,7 @@ array_position_common(FunctionCallInfo fcinfo)
if (PG_ARGISNULL(1))
{
- /* fast return when the array doesn't have have nulls */
+ /* fast return when the array doesn't have nulls */
if (!array_contains_nulls(array))
PG_RETURN_NULL();
searched_element = (Datum) 0;
@@ -871,7 +871,7 @@ array_positions(PG_FUNCTION_ARGS)
if (PG_ARGISNULL(1))
{
- /* fast return when the array doesn't have have nulls */
+ /* fast return when the array doesn't have nulls */
if (!array_contains_nulls(array))
PG_RETURN_DATUM(makeArrayResult(astate, CurrentMemoryContext));
searched_element = (Datum) 0;
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 492c093e4d..f43aff2d2c 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -8470,7 +8470,7 @@ read_nondefault_variables(void)
* particular postmaster. Most PGC_INTERNAL variables are compile-time
* constants; a few, like server_encoding and lc_ctype, are handled specially
* outside the serialize/restore procedure. Therefore, SerializeGUCState()
- * never sends these, and and RestoreGUCState() never changes them.
+ * never sends these, and RestoreGUCState() never changes them.
*/
static bool
can_skip_gucvar(struct config_generic * gconf)