BUG #19367: typos in backend/utils/adt/timestamp.c - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #19367: typos in backend/utils/adt/timestamp.c
Date
Msg-id 19367-16750e0343aaea77@postgresql.org
Whole thread Raw
Responses Re: BUG #19367: typos in backend/utils/adt/timestamp.c
List pgsql-bugs
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));


pgsql-bugs by date:

Previous
From: Richard Guo
Date:
Subject: Re: Lost update in an ordered batch, but only with index scan
Next
From: Rahila Syed
Date:
Subject: Re: BUG #19367: typos in backend/utils/adt/timestamp.c