aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-06-18 14:53:11 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-06-18 14:58:39 +0200
commit5603e119f4bd4818f8fa432ffc177c3caf9efeb6 (patch)
treeef1bab7cd40bd3f8323fa8d46e32ac084fda06cd /src/backend/utils/adt
parentae482a7ec521e09bb0dbfc261da6e6170a5ac29f (diff)
downloadpostgresql-5603e119f4bd4818f8fa432ffc177c3caf9efeb6.tar.gz
postgresql-5603e119f4bd4818f8fa432ffc177c3caf9efeb6.zip
Fix incorrect punctuation in error message
Diffstat (limited to 'src/backend/utils/adt')
-rw-r--r--src/backend/utils/adt/timestamp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c
index e4715605a2d..cdc7e43b930 100644
--- a/src/backend/utils/adt/timestamp.c
+++ b/src/backend/utils/adt/timestamp.c
@@ -4186,7 +4186,7 @@ interval_avg(PG_FUNCTION_ARGS)
if (state->pInfcount > 0 && state->nInfcount > 0)
ereport(ERROR,
(errcode(ERRCODE_DATETIME_VALUE_OUT_OF_RANGE),
- errmsg("interval out of range.")));
+ errmsg("interval out of range")));
result = (Interval *) palloc(sizeof(Interval));
if (state->pInfcount > 0)
@@ -4223,7 +4223,7 @@ interval_sum(PG_FUNCTION_ARGS)
if (state->pInfcount > 0 && state->nInfcount > 0)
ereport(ERROR,
(errcode(ERRCODE_DATETIME_VALUE_OUT_OF_RANGE),
- errmsg("interval out of range.")));
+ errmsg("interval out of range")));
result = (Interval *) palloc(sizeof(Interval));