Re: Add error-checking to timestamp_recv

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Add error-checking to timestamp_recv
Date: 2004-05-20 16:44:36
Message-ID: 2146.1085071476@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-05-20 16:56:45 Re: Add error-checking to timestamp_recv
Previous Message Stephen Frost 2004-05-20 16:07:05 Re: Add error-checking to timestamp_recv