Re: DecodeInterval fixes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DecodeInterval fixes
Дата
Msg-id 1449938.1688771624@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: DecodeInterval fixes  (Jacob Champion <jchampion@timescale.com>)
Ответы Re: DecodeInterval fixes  (Joseph Koshakow <koshy44@gmail.com>)
Re: DecodeInterval fixes  (Gurjeet Singh <gurjeet@singh.im>)
Список pgsql-hackers
Jacob Champion <jchampion@timescale.com> writes:
> Hi Joe, here's a partial review:
> On Sun, Apr 9, 2023 at 5:44 PM Joseph Koshakow <koshy44@gmail.com> wrote:
>> 1) Removes dead code for handling unit type RESERVE.

> Looks good. From a quick skim it looks like the ECPG copy of this code
> (ecpg/pgtypeslib/interval.c) might need to be updated as well?

The ECPG datetime datatype support code has been basically unmaintained
for years, and has diverged quite far at this point from the core code.
I wouldn't expect that a patch to the core code necessarily applies
easily to ECPG, nor would I expect somebody patching the core to bother
trying.

Perhaps modernizing/resyncing that ECPG code would be a worthwhile
undertaking, but it'd be a mighty large one, and I'm not sure about
the size of the return.  In the meantime, benign neglect is the policy.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: MERGE ... RETURNING
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Add more sanity checks around callers of changeDependencyFor()