problems using pg_dump and datestyle format

Поиск
Список
Период
Сортировка
От Leandro Rodrigo Saad Cruz
Тема problems using pg_dump and datestyle format
Дата
Msg-id 3B9FA677.E5808687@ibnetwork.com.br
обсуждение исходный текст
Список pgsql-admin
Hi all, I have changed the host I run PostgreSQL using pg_dump to move
the data.
Is there any issue related to datastyle or locales and pg_dump ??
I think that all dates on my columns got modified some how !
I used to make a query like

set datestyle 'sql,european'; select * from mytbl where date <
'dd/mm/yyyy';
but that's not working anymore because I'm getting a
PostgreSQL Error: 1 (ERROR: Bad date external representation
'08/18/2001' )

please help !

--
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)

Вложения

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

Предыдущее
От: "Nick Fankhauser"
Дата:
Сообщение: Re: Another WAL question
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Another WAL question