Re: Tuning a query with ORDER BY and LIMIT - Mailing list pgsql-general

From Peter J. Holzer
Subject Re: Tuning a query with ORDER BY and LIMIT
Date
Msg-id 20220622222558.2giv6yefxffswdwq@hjp.at
Whole thread Raw
In response to Re: Tuning a query with ORDER BY and LIMIT  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
List pgsql-general
On 2022-06-23 00:19:19 +0200, Peter J. Holzer wrote:
> On 2022-06-22 23:48:37 +0200, Peter J. Holzer wrote:
> > The index cannot be used for sorting, since the column used for sorting
> > isn't in the first position in the index.
>
> compared to a single value
  ^ not

E-Mail really needs a "Supercedes" header.

        hp

--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachment

pgsql-general by date:

Previous
From: "Peter J. Holzer"
Date:
Subject: Re: Tuning a query with ORDER BY and LIMIT
Next
From: Tom Lane
Date:
Subject: Re: Tuning a query with ORDER BY and LIMIT