1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Fix incorrect punctuation in error message

This commit is contained in:
Peter Eisentraut
2024-06-18 14:53:11 +02:00
parent ae482a7ec5
commit 5603e119f4
2 changed files with 4 additions and 4 deletions

View File

@ -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));