X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5D7FF3A5EF9 for ; Mon, 6 Dec 2004 13:04:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 20171-06 for ; Mon, 6 Dec 2004 13:04:36 +0000 (GMT) Received: from gandalf.havleik.no (gw2.havleik.no [217.8.139.61]) by svr1.postgresql.org (Postfix) with ESMTP id 655E03A5EF8 for ; Mon, 6 Dec 2004 13:04:38 +0000 (GMT) Received: from [127.0.0.1] (gandalf.havleik.no [10.1.1.1]) by gandalf.havleik.no (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id iB6D4bqv023622 for ; Mon, 6 Dec 2004 14:04:37 +0100 Message-ID: <41B45933.4070809@havleik.no> Date: Mon, 06 Dec 2004 14:05:55 +0100 From: =?ISO-8859-1?Q?Bj=F8rn_T_Johansen?= Organization: Havleik Consulting User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Strange change in my where clause? References: <41B455F3.5040502@havleik.no> In-Reply-To: X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Havleik-MailScanner-Information: Please contact Havleik Consulting for more information X-Havleik-MailScanner: Found to be clean X-MailScanner-From: btj@havleik.no X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200412/47 X-Sequence-Number: 11713 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 >