Hello, folks.

I was doing the formating for date fields in afterFind and
beforeValidate callback, then I've found a way to do that inside of
postgresql.
It's just doing something like that: SET datestyle to 'ISO',
'European';

The problem is that this statement would be executed once the database
connection is establish, in other words I think it would be in the
connect method of the datasource.

I have tried to search a tip to do that without reimplementing (or
extending) the DboPostgres, but no success.

Do you have any ideas of how or where I can execute this statement?

Thanks in advance.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to