> On 14 Jul 2023, at 20:41, Cary Huang <cary(dot)huang(at)highgo(dot)ca> wrote:
> Perhaps calling "tm2timestamp(&pgtm_time, 0, NULL, &ts)" without checking the return code would be just fine. I see some other usages of tm2timstamp() in other code areas also skip checking the return code.
I think we want to know about any failures, btu we can probably make it into an
elog() instead, as it should never fail.
--
Daniel Gustafsson