1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Message fixes and style improvements

This commit is contained in:
Peter Eisentraut
2020-09-14 06:42:07 +02:00
parent ac673a1aaf
commit 3e0242b24c
24 changed files with 92 additions and 89 deletions

View File

@ -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 */