From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Add error-checking to timestamp_recv |
Date: | 2004-05-20 00:58:43 |
Message-ID: | 200405200058.i4K0wh602974@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Would you show an example of the invalid value this is trying to avoid?
---------------------------------------------------------------------------
Stephen Frost wrote:
> Greetings,
>
> The attached patch adds some error-checking to the timestamp_recv
> function so that it's not possible to put an invalid timestamp into a
> timestamp column (hopefully). The check is done in basically the
> exact same way the out-of-bounds check in timestamp2tm is done.
> There's probably an easier/cleaner way but this should work or at
> least generate discussion and a better patch. :)
>
> Thanks,
>
> Stephen
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-05-20 03:34:37 | Re: pgkill for windows |
Previous Message | Bruce Momjian | 2004-05-20 00:42:09 | Re: [PORTS] Building PgSQL 7.4.2 on SGI Irix 6.19 |