On Sep 3, 2010, at 7:31 AM, Tom Lane wrote:
> I don't think the cast should act that way, but I could see providing a> separate conversion function that returns 0 ... or perhaps better NULL> ... if no match.
+1 I could use this in pgTAP.
David