BUG #19367: typos in backend/utils/adt/timestamp.c

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: fadeymail(at)rambler(dot)ru
Subject: BUG #19367: typos in backend/utils/adt/timestamp.c
Date: 2025-12-29 09:13:39
Message-ID: 19367-16750e0343aaea77@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 19367
Logged by: Nikolay Fadeev
Email address: fadeymail(at)rambler(dot)ru
PostgreSQL version: 18.1
Operating system: all OS
Description:

There are typos in return type of these functions:
1) timestamptz_pl_interval_at_zone(PG_FUNCTION_ARGS)
NOW: PG_RETURN_TIMESTAMP(timestamptz_pl_interval_internal(timestamp,
span, attimezone));
SHOULD:
PG_RETURN_TIMESTAMPTZ(timestamptz_pl_interval_internal(timestamp, span,
attimezone));
2) Datum timestamptz_mi_interval_at_zone(PG_FUNCTION_ARGS)
NOW: PG_RETURN_TIMESTAMP(timestamptz_mi_interval_internal(timestamp,
span, attimezone));
SHOULD:
PG_RETURN_TIMESTAMPTZ(timestamptz_mi_interval_internal(timestamp, span,
attimezone));

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Rahila Syed 2025-12-29 10:25:50 Re: BUG #19367: typos in backend/utils/adt/timestamp.c
Previous Message Richard Guo 2025-12-29 08:12:15 Re: Lost update in an ordered batch, but only with index scan