agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: vinny <vinny@xs4all.nl>
To: Saiful Muhajir <saifulmuhajir@gmail.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-sql-owner@postgresql.org
Subject: Re: Find rows with "timestamp out of range"
Date: Mon, 19 Jun 2017 09:54:26 +0200
Message-ID: <a1996168394c6d8a702b4cf9160f177e@xs4all.nl> (raw)
In-Reply-To: <CAA0dH_v08fBFWp+4TsRz8wESSp8zgKCL_Sdc-OVdA3vQd_XjUg@mail.gmail.com>
References: <CAA0dH_v08fBFWp+4TsRz8wESSp8zgKCL_Sdc-OVdA3vQd_XjUg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
On 2017-06-19 09:11, Saiful Muhajir wrote:
> Hi,
>
> I have a table with around 133 MILLION ROWS with two timestamp
> columns. While trying to copy some columns for a new database, using
> \COPY , the error occurred with: TIMESTAMP OUT OF RANGE
> While trying to figure out the rows containing the out of range
> value, I am using this with no result:
>
Are you sure that CREATED_AT is a timestamp? It seems odd that
the database would contain an invalid timestamp value in a timestamp
field.
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
view thread (8+ messages) latest in thread
Message-ID: <a1996168394c6d8a702b4cf9160f177e@xs4all.nl>
Permalink: ../a1996168394c6d8a702b4cf9160f177e@xs4all.nl/
Also on: postgresql.org/message-id/a1996168394c6d8a702b4cf9160f177e@xs4all.nl
reply
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-sql@postgresql.org
Cc: vinny@xs4all.nl, saifulmuhajir@gmail.com, pgsql-sql-owner@postgresql.org
Subject: Re: Find rows with "timestamp out of range"
In-Reply-To: <a1996168394c6d8a702b4cf9160f177e@xs4all.nl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox