Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzvrb-0002D7-MW for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Sep 2018 03:30:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fzvra-00065W-4p for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Sep 2018 03:30:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzvrZ-00065P-Ui for pgsql-bugs@lists.postgresql.org; Wed, 12 Sep 2018 03:30:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzvrW-0005tg-VN for pgsql-bugs@lists.postgresql.org; Wed, 12 Sep 2018 03:30:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w8C3Ued7001695; Tue, 11 Sep 2018 23:30:41 -0400 From: Tom Lane To: 1726002692@qq.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15380: Sorting paging data loss In-reply-to: <153672176900.23141.14337441776284994710@wrigleys.postgresql.org> References: <153672176900.23141.14337441776284994710@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Wed, 12 Sep 2018 03:09:29 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1693.1536723040.1@sss.pgh.pa.us> Date: Tue, 11 Sep 2018 23:30:40 -0400 Message-ID: <1694.1536723040@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Bug_reporting_form?= writes: > [ underspecified ORDER BY produces variable row ordering ] I don't see a bug here. If you want consistent row ordering, you need to give an ORDER BY that uniquely orders the rows. regards, tom lane