On 12/28/05 10:49 AM, Cees Hek wrote:
> The Pg tests will fail if PostgreSQL is configured with European date
> styles (ie D/M/Y instead of the american M/D/Y).  The easiest solution
> is to set the PGDATESTYLE environment variable before you run the test
> suite, and a simple doc patch should suffice to let users know about
> this when running the test suite.
> 
> export PGDATESTYLE=MDY
> 
> (to recreate the test errors just set the PGDATESTYLE to DMY)

Thanks.  I'll set the env var in the test suite.  I'd be interested to know
if this setting works for you in your actual code:

http://search.cpan.org/dist/Rose-DB/lib/Rose/DB/Pg.pm#european_dates

-John




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to