From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: jesvh.cht@gmail.com
Subject: BUG #16472: Bug in to_timestamp ?
Date: Mon, 01 Jun 2020 10:32:04 +0000
Message-ID: <16472-ab9037fa90ff70f3@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 16472
Logged by: jesvh
Email address: jesvh.cht@gmail.com
PostgreSQL version: Unsupported/Unknown
Operating system: windows 10
Description:
Hi :
I execute a update SQL as below :
update Table1 set date1=to_timestamp('19790701000000', 'YYYYMMDDHH24MISS')
where .....
date1 is a timestamp type column, the result in DB is 1979-07-01 01:00:00
where come from that '01' hour ?
but if set to other date value, it works correct ....
Is it a special bug ?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, jesvh.cht@gmail.com
Subject: Re: BUG #16472: Bug in to_timestamp ?
In-Reply-To: <16472-ab9037fa90ff70f3@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox