From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: fadeymail@rambler.ru
Subject: BUG #19367: typos in backend/utils/adt/timestamp.c
Date: Mon, 29 Dec 2025 09:13:39 +0000
Message-ID: <19367-16750e0343aaea77@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 19367
Logged by: Nikolay Fadeev
Email address: fadeymail@rambler.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));
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, fadeymail@rambler.ru
Subject: Re: BUG #19367: typos in backend/utils/adt/timestamp.c
In-Reply-To: <19367-16750e0343aaea77@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox