pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bjørn T Johansen <btj@havleik.no>
To: pgsql-jdbc@postgresql.org
Subject: Strange change in my where clause?
Date: Mon, 06 Dec 2004 13:52:03 +0100
Message-ID: <41B455F3.5040502@havleik.no> (raw)

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


Why? The order get messed up....



Regards,


BTJ


-- 
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj@havleik.no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------



view thread (3+ messages)  latest in thread

Message-ID: <41B455F3.5040502@havleik.no>
Permalink:  ../41B455F3.5040502@havleik.no/
Also on:    postgresql.org/message-id/41B455F3.5040502@havleik.no

 · 

reply

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: <41B455F3.5040502@havleik.no>
  References: <41B455F3.5040502@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