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

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, petr(dot)fedorov(at)phystech(dot)edu
Subject: Re: Since '2001-09-09 01:46:40'::timestamp microseconds are lost when extracting epoch
Date: 2020-09-14 18:11:01
Message-ID: CAEudQAq81FAgH2jEHaxBJAp866PGf7fyGwtMTEg1hqKz98AoJQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
> ok done
msvc 2019 (64 bits), is worried about it:
https://github.com/postgres/postgres/commit/0aa8f764088ea0f36620ae2955fa6c54ec736c46

"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

Responses

Browse pgsql-hackers by date

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