aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/foreign/foreign.c2
-rw-r--r--src/backend/nodes/extensible.c2
-rw-r--r--src/backend/utils/adt/tsquery_op.c4
-rw-r--r--src/pl/plpython/plpy_elog.c1
-rw-r--r--src/test/modules/snapshot_too_old/sto.conf1
5 files changed, 4 insertions, 6 deletions
diff --git a/src/backend/foreign/foreign.c b/src/backend/foreign/foreign.c
index f1feb85c551..633b9832e54 100644
--- a/src/backend/foreign/foreign.c
+++ b/src/backend/foreign/foreign.c
@@ -253,7 +253,7 @@ GetUserMapping(Oid userid, Oid serverid)
*
* If missing_ok is true, the function returns InvalidOid when it does not find
* required user mapping. Otherwise, find_user_mapping() throws error if it
- * does not find required user mapping.
+ * does not find required user mapping.
*/
Oid
GetUserMappingId(Oid userid, Oid serverid, bool missing_ok)
diff --git a/src/backend/nodes/extensible.c b/src/backend/nodes/extensible.c
index d61be58c45d..a4f1c990163 100644
--- a/src/backend/nodes/extensible.c
+++ b/src/backend/nodes/extensible.c
@@ -33,7 +33,7 @@ typedef struct
} ExtensibleNodeEntry;
/*
- * An internal function to register a new callback structure
+ * An internal function to register a new callback structure
*/
static void
RegisterExtensibleNodeEntry(HTAB **p_htable, const char *htable_label,
diff --git a/src/backend/utils/adt/tsquery_op.c b/src/backend/utils/adt/tsquery_op.c
index 30d3faf3e22..5ea02c41c7e 100644
--- a/src/backend/utils/adt/tsquery_op.c
+++ b/src/backend/utils/adt/tsquery_op.c
@@ -114,13 +114,13 @@ tsquery_phrase_distance(PG_FUNCTION_ARGS)
TSQuery b = PG_GETARG_TSQUERY_COPY(1);
QTNode *res;
TSQuery query;
- int32 distance = PG_GETARG_INT32(2);
+ int32 distance = PG_GETARG_INT32(2);
if (distance < 0 || distance > MAXENTRYPOS)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("distance in phrase operator should be non-negative and less than %d",
- MAXENTRYPOS)));
+ MAXENTRYPOS)));
if (a->size == 0)
{
PG_FREE_IF_COPY(a, 1);
diff --git a/src/pl/plpython/plpy_elog.c b/src/pl/plpython/plpy_elog.c
index 31bf36a0d6c..7d3d0d49816 100644
--- a/src/pl/plpython/plpy_elog.c
+++ b/src/pl/plpython/plpy_elog.c
@@ -619,4 +619,3 @@ set_string_attr(PyObject *obj, char *attrname, char *str)
return result != -1;
}
-
diff --git a/src/test/modules/snapshot_too_old/sto.conf b/src/test/modules/snapshot_too_old/sto.conf
index ce8048f198b..7eeaeeb0dc3 100644
--- a/src/test/modules/snapshot_too_old/sto.conf
+++ b/src/test/modules/snapshot_too_old/sto.conf
@@ -1,3 +1,2 @@
autovacuum = off
old_snapshot_threshold = 0
-