diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-06-03 13:44:03 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-06-03 13:44:03 +0900 |
commit | 1fb6f62a84041b668fd9e85a2f33bb3a0fd28fdc (patch) | |
tree | bcf6bac3dc4d8e1ce07b6d883b0e30990025f834 /src/backend/utils | |
parent | 0240a00fbd4fd14f577edf8d36a032237fd0b9cb (diff) | |
download | postgresql-1fb6f62a84041b668fd9e85a2f33bb3a0fd28fdc.tar.gz postgresql-1fb6f62a84041b668fd9e85a2f33bb3a0fd28fdc.zip |
Fix typos in various places
Author: Andrea Gelmini
Reviewed-by: Michael Paquier, Justin Pryzby
Discussion: https://postgr.es/m/20190528181718.GA39034@glet
Diffstat (limited to 'src/backend/utils')
-rw-r--r-- | src/backend/utils/adt/geo_ops.c | 2 | ||||
-rw-r--r-- | src/backend/utils/adt/inet_net_pton.c | 4 | ||||
-rw-r--r-- | src/backend/utils/adt/jsonpath.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/adt/geo_ops.c b/src/backend/utils/adt/geo_ops.c index 2ecc73b7724..373784fcc1e 100644 --- a/src/backend/utils/adt/geo_ops.c +++ b/src/backend/utils/adt/geo_ops.c @@ -5315,7 +5315,7 @@ lseg_crossing(float8 x, float8 y, float8 prev_x, float8 prev_y) /* both non-positive so do not cross positive X-axis */ return 0; - /* x and y cross axises, see URL above point_inside() */ + /* x and y cross axes, see URL above point_inside() */ z = float8_mi(float8_mul(float8_mi(x, prev_x), y), float8_mul(float8_mi(y, prev_y), x)); if (FPzero(z)) diff --git a/src/backend/utils/adt/inet_net_pton.c b/src/backend/utils/adt/inet_net_pton.c index 6f3ece1209c..c28809fad68 100644 --- a/src/backend/utils/adt/inet_net_pton.c +++ b/src/backend/utils/adt/inet_net_pton.c @@ -189,7 +189,7 @@ inet_cidr_pton_ipv4(const char *src, u_char *dst, size_t size) goto emsgsize; } - /* Firey death and destruction unless we prefetched EOS. */ + /* Fiery death and destruction unless we prefetched EOS. */ if (ch != '\0') goto enoent; @@ -309,7 +309,7 @@ inet_net_pton_ipv4(const char *src, u_char *dst) goto emsgsize; } - /* Firey death and destruction unless we prefetched EOS. */ + /* Fiery death and destruction unless we prefetched EOS. */ if (ch != '\0') goto enoent; diff --git a/src/backend/utils/adt/jsonpath.c b/src/backend/utils/adt/jsonpath.c index 10cd38a5315..d5da1558670 100644 --- a/src/backend/utils/adt/jsonpath.c +++ b/src/backend/utils/adt/jsonpath.c @@ -229,7 +229,7 @@ static int flattenJsonPathParseItem(StringInfo buf, JsonPathParseItem *item, int nestingLevel, bool insideArraySubscript) { - /* position from begining of jsonpath data */ + /* position from beginning of jsonpath data */ int32 pos = buf->len - JSONPATH_HDRSZ; int32 chld; int32 next; |