Re: funkiness with '1999-12-31 19:00:00-05'::timestamp with time zone

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: funkiness with '1999-12-31 19:00:00-05'::timestamp with time zone
Date: 2010-09-03 20:10:33
Message-ID: AANLkTim91UtqfZmjrp-2QxdJbND8M8CiXEESmAryOfym@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Sep 3, 2010 at 4:01 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Interesting.  I can't imagine how you could have produced these with
> plain COPY, since that would go through timestamptzin.  Was it by any
> chance a binary COPY?  If so I could believe that funny timestamps could
> get in.  Maybe some confusion over endianness of the binary data, for
> instance.

Exactly, the code is using COPY ... TO STDOUT WITH BINARY along with
COPY ... FROM STDIN WITH BINARY.

Josh

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-09-03 20:14:43 Re: funkiness with '1999-12-31 19:00:00-05'::timestamp with time zone
Previous Message Tom Lane 2010-09-03 20:01:11 Re: funkiness with '1999-12-31 19:00:00-05'::timestamp with time zone