changing datestyle

Thomas Good <tomg@q8.nrnet.org>

From: Thomas Good <tomg@q8.nrnet.org>
To: pgsql-novice@hub.org
Date: 2000-10-30T16:12:53Z
Lists: pgsql-novice
Hi all.

This ISO datestyle is a nuisance.  In my /etc/profile I am exporting
an env var:  export PGDATESTYLE='postgres'

This converts the date back to what ppl here are used to...but it
does not work for the web server and the nobody user.

Do I have to manually SET the variable before every SELECT ???
Geez, I hope not...

Thanks,
Tom

--------------------------------------------------------------------
               SVCMC - Center for Behavioral Health                  
--------------------------------------------------------------------
Thomas Good                          tomg@ { admin | q8 } .nrnet.org
IS Coordinator / DBA                 Phone: 718-354-5528 
                                     Fax:   718-354-5056  
--------------------------------------------------------------------
Powered by:  PostgreSQL     s l a c k w a r e          FreeBSD:
               RDBMS       |---------- linux      The Power To Serve
--------------------------------------------------------------------