From: Bjørn T Johansen <btj@havleik.no>
To: pgsql-jdbc@postgresql.org
Subject: Re: Strange change in my where clause?
Date: Mon, 06 Dec 2004 14:05:55 +0100
Message-ID: <41B45933.4070809@havleik.no> (raw)
In-Reply-To: <Pine.BSO.4.56.0412060800450.16153@leary.csoft.net>
References: <41B455F3.5040502@havleik.no>
<Pine.BSO.4.56.0412060800450.16153@leary.csoft.net>
Well, it may be my report tool that is changing the sql statement; I am just trying to
figure out which one does the change...
BTJ
Kris Jurka wrote:
>
> On Mon, 6 Dec 2004, [ISO-8859-1] Bjørn T Johansen wrote:
>
>
>>I have a select where I end like this:
>>
>>...where week = 40 and year = 2004 order by trykkedato, presseID, godeaviser
>>
>>but the statement logged by the server is
>>
>>...where week = 40 and year = 2004 order by 1,3,20
>>
>
>
> I find this a little hard to believe. What logging option are you using?
> It certainly comes out as expected here with log_statement.
>
> Kris Jurka
>
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-jdbc@postgresql.org
Cc: btj@havleik.no
Subject: Re: Strange change in my where clause?
In-Reply-To: <41B45933.4070809@havleik.no>
References: <41B455F3.5040502@havleik.no> <Pine.BSO.4.56.0412060800450.16153@leary.csoft.net> <41B45933.4070809@havleik.no>
* 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