[SQL] inconsistent automatic casting between psql and function

2008-12-09 Thread Stefano Buliani
variable to DATE (ie '2008-12-08 02:00:00'::DATE - Note the field is of type date). It would seem that the psql client casts the value automatically. Any reason why this should be? This inconsistent behaviour makes code much harder to debug. Regards, Stefano -

Re: [SQL] effectiveness tool

2008-10-15 Thread Stefano Buliani
- Stefano Buliani Covestor email: [EMAIL PROTECTED] mobile: +44 (0) 7766295328 This message is intended solely for the recipient(s) to whom it is addressed. If you are not the intended recipient, you should not disclose, distribute or copy this email. Please notify the sender