changing datestyle

Поиск
Список
Период
Сортировка
От Thomas Good
Тема changing datestyle
Дата
Msg-id Pine.LNX.3.96.1001030111016.11953A-100000@q8.nrnet.org
обсуждение исходный текст
Ответ на Re: changing data type  ("D. Duccini" <duccini@backpack.com>)
Ответы Re: changing datestyle  (Jason Davis <jdavis@tassie.net.au>)
Список 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
--------------------------------------------------------------------


В списке pgsql-novice по дате отправления:

Предыдущее
От: James Hall
Дата:
Сообщение: Postgres not finding tables
Следующее
От: Jason Davis
Дата:
Сообщение: Re: changing datestyle