Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMrX5-0002D6-HK for pgsql-sql@arkaria.postgresql.org; Mon, 19 Jun 2017 07:55:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dMrX5-0004Hl-27 for pgsql-sql@arkaria.postgresql.org; Mon, 19 Jun 2017 07:55:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dMrW5-0002Qh-64 for pgsql-sql@postgresql.org; Mon, 19 Jun 2017 07:54:33 +0000 Received: from lb3-smtp-cloud3.xs4all.net ([194.109.24.30]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dMrW2-00058N-9A for pgsql-sql@postgresql.org; Mon, 19 Jun 2017 07:54:31 +0000 Received: from webmail.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:211]) by smtp-cloud3.xs4all.net with ESMTP id aXuS1v00K5LLN1B01XuS3K; Mon, 19 Jun 2017 09:54:26 +0200 Received: from mail.genj.nl ([77.242.116.162]) by webmail.xs4all.nl with HTTP (HTTP/1.1 POST); Mon, 19 Jun 2017 09:54:26 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 19 Jun 2017 09:54:26 +0200 From: vinny To: Saiful Muhajir Cc: pgsql-sql@postgresql.org, pgsql-sql-owner@postgresql.org Subject: Re: Find rows with "timestamp out of range" In-Reply-To: References: Message-ID: X-Sender: vinny@xs4all.nl User-Agent: XS4ALL Webmail List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org 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