X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F3EEF52A3A for ; Thu, 31 Mar 2005 17:39:33 +0100 (BST) 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 88216-04 for ; Thu, 31 Mar 2005 16:39:23 +0000 (GMT) Received: from hotmail.com (bay14-dav12.bay14.hotmail.com [64.4.48.116]) by svr1.postgresql.org (Postfix) with ESMTP id ACD395348D for ; Thu, 31 Mar 2005 17:39:22 +0100 (BST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 31 Mar 2005 08:39:22 -0800 Message-ID: Received: from 24.19.247.29 by BAY14-DAV12.phx.gbl with DAV; Thu, 31 Mar 2005 16:39:21 +0000 X-Originating-IP: [24.19.247.29] X-Originating-Email: [gpatnude@hotmail.com] X-Sender: gpatnude@hotmail.com Reply-To: From: "Greg Patnude" To: "'Chris Browne'" , Subject: Re: New record position Date: Thu, 31 Mar 2005 08:42:53 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcU1hjMm6SbMQMoeQKSRgZ9E1/CPbwAilkvA In-Reply-To: <60br90spl0.fsf@dba2.int.libertyrms.com> X-OriginalArrivalTime: 31 Mar 2005 16:39:22.0121 (UTC) FILETIME=[311BCF90:01C53610] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.419 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, MSGID_FROM_MTA_HEADER X-Spam-Level: * X-Archive-Number: 200503/412 X-Sequence-Number: 20891 There's a difference between "natural" order (the location in the database or on disk) and "record" order (the order specified by the primary key)... -----Original Message----- From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org] On Behalf Of Chris Browne Sent: Wednesday, March 30, 2005 3:04 PM To: pgsql-sql@postgresql.org Subject: Re: [SQL] New record position lucas@presserv.org writes: > Why it? I can't undestand why the new record location was change. Shouldn't it > apper at the LAST record??? > What need I do?? SQL only imposes an order on the return set if you add an "ORDER BY" clause. You can't expect any particular order to either recur or NOT recur unless you have specifically requested a particular ordering. There's no bug; just use ORDER BY if you need to, and, if you don't, make sure you don't expect any particular ordering... -- (format nil "~S@~S" "cbbrowne" "cbbrowne.com") http://www3.sympatico.ca/cbbrowne/spiritual.html "The present need for security products far exceeds the number of individuals capable of designing secure systems. Consequently, industry has resorted to employing folks and purchasing "solutions" from vendors that shouldn't be let near a project involving securing a system." -- Lucky Green ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org