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

From Tom Lane
Subject Re: Add error-checking to timestamp_recv
Date
Msg-id 2146.1085071476@sss.pgh.pa.us
Whole thread Raw
In response to Re: Add error-checking to timestamp_recv  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Add error-checking to timestamp_recv
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I wasn't aware you could throw binary values into the timestamp fields
> like that.  I thought you needed to use a C string for the value.

This facility was added in 7.4 as part of the wire-protocol overhaul.
It's nothing directly to do with PREPARE; you could get the same result
with no prepared statement using PQexecParams.

            regards, tom lane

pgsql-patches by date:

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