From: Peter Eisentraut Date: Mon, 11 Apr 2016 18:44:51 +0000 (-0400) Subject: Fix whitespace X-Git-Tag: REL9_6_BETA1~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8ed83cd7fd1082f60a5b9897b62216f6b3e2587;p=postgresql Fix whitespace --- diff --git a/src/backend/foreign/foreign.c b/src/backend/foreign/foreign.c index f1feb85c55..633b9832e5 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 d61be58c45..a4f1c99016 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 30d3faf3e2..5ea02c41c7 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 31bf36a0d6..7d3d0d4981 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 ce8048f198..7eeaeeb0dc 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 -