logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: help: now() + N is now failing!: msg#00239

Subject: Re: help: now() + N is now failing!


Ok, granted that, but what's wrong with date_pli (now(), 2)?

It's a similar issue. As a potential counter example, what about
date_pli('foo', 2) or date_pli(inet '1.1.1.1', 2)? There's a cast
from text->date and a cast inet->text. If you allow downcasts and
arbitrary casts you can get some really odd behavior.

Well... this would be a two-step cast.. That was never allowed (was it?), and I never argued that it should...

Dima






---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
   (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>