On Mar 5, 2008, at 10:10 PM, Tom Lane wrote:

"Ted Kremenek" <[EMAIL PROTECTED]> writes:
It appears that there may be a case where the function tm2timetz is called with an uninitialized (i.e., undefined) value passed as one of its arguments
(actually multiple arguments are undefined).

I think you're assuming DateTimeParseError() will return, which it will
not (it always throws ereport(ERROR)).  Or have I missed something?

                        regards, tom lane

Thanks Tom.

After your comments I looked more closely at ereport. It's a little buried, but I can see that when errstart (wrapped by ereport) is called with ERROR that it does not return.

Thanks for the quick response.

Ted

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://mail.postgresql.org/mj/mj_wwwusr?domain=postgresql.org&extra=pgsql-bugs

Reply via email to