aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-09-14 06:42:07 +0200
committerPeter Eisentraut <peter@eisentraut.org>2020-09-14 06:42:07 +0200
commitb1b53f15bbac106e241b14ae1bc13f2708fe74c8 (patch)
treec83c0f12a25e635520de634c8201668b6aa15607 /src/backend/utils/adt/jsonpath_exec.c
parentb380484a850b6bf7d9fc0d85c555a2366e38451f (diff)
downloadpostgresql-b1b53f15bbac106e241b14ae1bc13f2708fe74c8.tar.gz
postgresql-b1b53f15bbac106e241b14ae1bc13f2708fe74c8.zip
Message fixes and style improvements
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
-rw-r--r--src/backend/utils/adt/jsonpath_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/jsonpath_exec.c b/src/backend/utils/adt/jsonpath_exec.c
index f146767bfc3..a38f9da7941 100644
--- a/src/backend/utils/adt/jsonpath_exec.c
+++ b/src/backend/utils/adt/jsonpath_exec.c
@@ -2587,9 +2587,9 @@ checkTimezoneIsUsedForCast(bool useTz, const char *type1, const char *type2)
if (!useTz)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("cannot convert value from %s to %s without timezone usage",
+ errmsg("cannot convert value from %s to %s without time zone usage",
type1, type2),
- errhint("Use *_tz() function for timezone support.")));
+ errhint("Use *_tz() function for time zone support.")));
}
/* Convert time datum to timetz datum */