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:30 +0200
commit3e0242b24c3c059870890644b69d6c4491a45651 (patch)
tree3c3f13a5716e33380a9cf95c1f87a2990f9881dc /src/backend/utils/adt/jsonpath_exec.c
parentac673a1aaff197f3e01f7bac69da0dd700854e13 (diff)
downloadpostgresql-3e0242b24c3c059870890644b69d6c4491a45651.tar.gz
postgresql-3e0242b24c3c059870890644b69d6c4491a45651.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 7403c760b48..2c0b362502f 100644
--- a/src/backend/utils/adt/jsonpath_exec.c
+++ b/src/backend/utils/adt/jsonpath_exec.c
@@ -2582,9 +2582,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 */