Jacob Champion <jchamp...@timescale.com> writes: > Hi Joe, here's a partial review: > On Sun, Apr 9, 2023 at 5:44 PM Joseph Koshakow <kosh...@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