Re: sslinfo extension - add notbefore and notafter timestamps - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: sslinfo extension - add notbefore and notafter timestamps
Date
Msg-id 3B06C5ED-ED82-4583-9A70-BFCEC32E8689@yesql.se
Whole thread Raw
In response to Re: sslinfo extension - add notbefore and notafter timestamps  (Cary Huang <cary.huang@highgo.ca>)
Responses Re: sslinfo extension - add notbefore and notafter timestamps
List pgsql-hackers
> On 14 Jul 2023, at 20:41, Cary Huang <cary.huang@highgo.ca> wrote:

> Perhaps calling "tm2timestamp(&pgtm_time, 0, NULL, &ts)" without checking the return code would be just fine. I see
someother 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




pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: Re: CommandStatus from insert returning when using a portal.
Next
From: "David G. Johnston"
Date:
Subject: Re: CommandStatus from insert returning when using a portal.