On Wed, Jan 17, 2018 at 5:34 PM, Andrew Dunstan <andrew.duns...@2ndquadrant.com> wrote: > > > On 01/17/2018 12:34 AM, Amit Langote wrote: >> On Wed, Jan 17, 2018 at 9:29 AM, Andrew Dunstan <and...@dunslane.net> wrote: >>> Centralize json and jsonb handling of datetime types >> [ ... ] >> >>> src/include/utils/date.h | 4 +- >> I noticed that these changes cause the following warning to be emitted >> when compiling with gcc (GCC) 6.2.0: >> >> Attached is a fix. >> > > Thanks, this is the right fix but in the wrong place. I have added the > include in the file where pg_tm is actually used.
Thank you. Regards, Amit