Re: Since '2001-09-09 01:46:40'::timestamp microseconds are lost when extracting epoch - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Since '2001-09-09 01:46:40'::timestamp microseconds are lost when extracting epoch
Date
Msg-id CAEudQAq81FAgH2jEHaxBJAp866PGf7fyGwtMTEg1hqKz98AoJQ@mail.gmail.com
Whole thread Raw
Responses Re: Since '2001-09-09 01:46:40'::timestamp microseconds are lost when extracting epoch  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
> ok done
msvc 2019 (64 bits), is worried about it:

"C:\dll\postgres\pgsql.sln" (default target) (1) ->
"C:\dll\postgres\cyrillic_and_mic.vcxproj" (default target) (37) ->
"C:\dll\postgres\postgres.vcxproj" (default target) (38) ->
(ClCompile target) ->
  C:\dll\postgres\src\backend\utils\adt\dbsize.c(630,20): warning C4334: '<<': resultado de 32-bit shift convertido implicitamente para 64 bits (64-bit shift era pretendid
o?) [C:\dll\postgres\postgres.vcxproj]

    1 Warning(s)
    0 Error(s)

"result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)"

regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix overflow at return wchar2char (src/backend/utils/adt/pg_locale.c)
Next
From: Tom Lane
Date:
Subject: Re: Since '2001-09-09 01:46:40'::timestamp microseconds are lost when extracting epoch