Please help - Bad date external representation problems

From: Leandro Rodrigo Saad Cruz <leandro(at)ibnetwork(dot)com(dot)br>
To: pgsql-admin(at)postgresql(dot)org
Subject: Please help - Bad date external representation problems
Date: 2001-10-03 19:35:40
Message-ID: 1002137740.2973.20.camel@ns2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-admin by date

  From Date Subject
Next Message Oliver Elphick 2001-10-03 19:40:14 Re: Storage management?????
Previous Message Chris Pesko 2001-10-03 18:49:38 complete output to file??