Please help - Bad date external representation problems

Поиск
Список
Период
Сортировка
От Leandro Rodrigo Saad Cruz
Тема Please help - Bad date external representation problems
Дата
Msg-id 1002137740.2973.20.camel@ns2
обсуждение исходный текст
Список pgsql-admin
Hi all.
I'm using postgresql 7.1release-3.potato.1 on a debian box .

this error is aways happening :

NOTICE:  DateStyle is SQL with European conventions
SHOW VARIABLE
monitorar=> SELECT oid from reservas where data_comp < '22/08/2001';
ERROR:  Bad date external representation '08/20/2001'

the strange thing is

monitorar=> set DateStyle to us;
SET VARIABLE
monitorar=> SHOW DateStyle ;
NOTICE:  DateStyle is SQL with US (NonEuropean) conventions
SHOW VARIABLE
monitorar=> SELECT oid from reservas where data_comp < '22/08/2001';

gives me the right results.

whats wrong ??


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


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

Предыдущее
От: Chris Pesko
Дата:
Сообщение: complete output to file??
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: Storage management?????