diff options
Diffstat (limited to 'src/backend/utils/adt')
-rw-r--r-- | src/backend/utils/adt/genfile.c | 6 | ||||
-rw-r--r-- | src/backend/utils/adt/geo_ops.c | 2 | ||||
-rw-r--r-- | src/backend/utils/adt/pg_locale.c | 2 | ||||
-rw-r--r-- | src/backend/utils/adt/tsquery.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/genfile.c b/src/backend/utils/adt/genfile.c index 88f279d1b31..2bf52192567 100644 --- a/src/backend/utils/adt/genfile.c +++ b/src/backend/utils/adt/genfile.c @@ -59,9 +59,9 @@ convert_and_check_filename(text *arg) canonicalize_path(filename); /* filename can change length here */ /* - * Roles with privleges of the 'pg_read_server_files' role are allowed to access - * any files on the server as the PG user, so no need to do any further checks - * here. + * Roles with privileges of the 'pg_read_server_files' role are allowed to + * access any files on the server as the PG user, so no need to do any + * further checks here. */ if (has_privs_of_role(GetUserId(), ROLE_PG_READ_SERVER_FILES)) return filename; diff --git a/src/backend/utils/adt/geo_ops.c b/src/backend/utils/adt/geo_ops.c index 609aab2e651..b79705f8b3f 100644 --- a/src/backend/utils/adt/geo_ops.c +++ b/src/backend/utils/adt/geo_ops.c @@ -3878,7 +3878,7 @@ lseg_inside_poly(Point *a, Point *b, POLYGON *poly, int start) Point p; /* - * if X-intersection wasn't found then check central point of tested + * if X-intersection wasn't found, then check central point of tested * segment. In opposite case we already check all subsegments */ p.x = float8_div(float8_pl(t.p[0].x, t.p[1].x), 2.0); diff --git a/src/backend/utils/adt/pg_locale.c b/src/backend/utils/adt/pg_locale.c index 12603b727cd..2c47dea3429 100644 --- a/src/backend/utils/adt/pg_locale.c +++ b/src/backend/utils/adt/pg_locale.c @@ -991,7 +991,7 @@ search_locale_enum(LPWSTR pStr, DWORD dwFlags, LPARAM lparam) test_locale, LOCALE_NAME_MAX_LENGTH)) { /* - * If the enumerated locale does not have a hyphen ("en") OR the + * If the enumerated locale does not have a hyphen ("en") OR the * lc_message input does not have an underscore ("English"), we only * need to compare the <Language> tags. */ diff --git a/src/backend/utils/adt/tsquery.c b/src/backend/utils/adt/tsquery.c index f0a95297b3e..f54f2988149 100644 --- a/src/backend/utils/adt/tsquery.c +++ b/src/backend/utils/adt/tsquery.c @@ -261,7 +261,7 @@ parse_or_operator(TSQueryParserState pstate) /* * Suppose, we found an operand, but could be a not correct operand. * So we still treat OR literal as operation with possibly incorrect - * operand and will not search it as lexeme + * operand and will not search it as lexeme */ if (!t_isspace(ptr)) break; |