Received: from smtp.ibnetwork.com.br ([200.202.119.199]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f93JZin89374 for ; Wed, 3 Oct 2001 15:35:45 -0400 (EDT) (envelope-from leandro@ibnetwork.com.br) Received: from ns2.ibnetwork.com.br (leandro.ibnetwork.com.br [200.202.119.197]) by smtp.ibnetwork.com.br (Postfix) with ESMTP id 5E62F2001C for ; Wed, 3 Oct 2001 16:36:45 -0300 (BRT) Subject: Please help - Bad date external representation problems From: Leandro Rodrigo Saad Cruz To: pgsql-admin@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.13 (Preview Release) Date: 03 Oct 2001 16:35:40 -0300 Message-Id: <1002137740.2973.20.camel@ns2> Mime-Version: 1.0 X-Archive-Number: 200110/34 X-Sequence-Number: 2280 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)