On Fri, 13 Jul 2001, Josh Berkus wrote:
> Folks,
>
> Pardon me for asking this again, but I received *no* responses last
> week.
>
> Question: Is there any function or method which will allow me, in SQL
> or PL/pgSQL, to validate dates without raising an error for invalid
> dates?
Not as far as I know off hand, although I guess you could duplicate
the code for to_date to another function except changing the error
handling (a bit of a mess, but would probably function in a pinch).
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl