Re: Synchronized scans - Mailing list pgsql-patches

From Heikki Linnakangas
Subject Re: Synchronized scans
Date
Msg-id 46642F05.1020506@enterprisedb.com
Whole thread Raw
In response to Re: Synchronized scans  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
>> As I understand it, the problem is that while currently LIMIT without
>> ORDER BY always starts at the beginning of the table, it will not with
>> this patch.  I consider that acceptable.
>
> It's definitely going to require stronger warnings than we have now
> about using LIMIT without ORDER BY.

Along the lines of

NOTICE: LIMIT without ORDER BY returns an arbitrary set of matching rows

perhaps? I wonder how easy it is to detect that in the planner.

Or just a remark in the manual?

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Synchronized scans
Next
From: Jeff Davis
Date:
Subject: Re: Synchronized scans