From: Leandro Rodrigo Saad Cruz <leandro@ibnetwork.com.br>
To: pgsql-admin@postgresql.org
Subject: Please help - Bad date external representation problems
Date: 03 Oct 2001 16:35:40 -0300
Message-ID: <1002137740.2973.20.camel@ns2> (raw)
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)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: leandro@ibnetwork.com.br
Subject: Re: Please help - Bad date external representation problems
In-Reply-To: <1002137740.2973.20.camel@ns2>
References: <1002137740.2973.20.camel@ns2>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox