problems with datestyle

Поиск
Список
Период
Сортировка
От João Paulo F. Diniz
Тема problems with datestyle
Дата
Msg-id Pine.GSO.4.58.0404011728380.2351@ciclope
обсуждение исходный текст
Ответы Re: problems with datestyle
Список pgsql-jdbc
Hi,

I'm using a java program to connect to a postgresql database (I'm using
postgresql version 7.2.1).
I'd like to retrieve a value of type DATE with ResultSet.getString()
method
in the format dd/mm/yyyy without make any more changes in the program.

I've already tried to Change PGDATESTYLE to "sql, european".
When I access database on the console whith postgres user all dates are
showed in format dd/mm/yyyy, but it doesn't with a java program.

How can I use postmaster whith options -o -e?

OR

How can I change datastyle in postgresql.conf?


Thanks in advance!

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: disabling seq scans
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: problems with datestyle