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

From Stephen Frost
Subject Add error-checking to timestamp_recv
Date
Msg-id 20040405153030.GS7060@ns.snowman.net
Whole thread Raw
Responses Re: Add error-checking to timestamp_recv  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: hint infrastructure setup (v3)
Next
From: Fabien COELHO
Date:
Subject: Re: hint infrastructure setup (v3)