Re: Add error-checking to timestamp_recv - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Add error-checking to timestamp_recv
Date
Msg-id 200405201533.i4KFXJc05573@candle.pha.pa.us
Whole thread Raw
In response to Re: Add error-checking to timestamp_recv  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Add error-checking to timestamp_recv
List pgsql-patches
Stephen Frost wrote:
-- Start of PGP signed section.
> * Bruce Momjian (pgman@candle.pha.pa.us) wrote:
> > Would you show an example of the invalid value this is trying to avoid?
>
> Well, the way I discovered the problem was by sending a timestamp in
> double format when the server was expecting one in int64 format.  This
> is when using the binary data method for timestamps.  I'll generate a
> small example program/schema later today and post it to the list.

So you are passing the data via binary COPY or a C function?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Add error-checking to timestamp_recv
Next
From: Stephen Frost
Date:
Subject: Re: Add error-checking to timestamp_recv