Re: Planner hints in SELECT queries?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dmitry(at)koterov(dot)ru
Cc: "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Planner hints in SELECT queries?
Date: 2008-12-17 15:16:54
Message-ID: 28860.1229527014@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Dmitry Koterov" <dmitry(at)koterov(dot)ru> writes:
> I propose to add the SELECT clause to do it natively, like this:

> SELECT *
> FROM tbl
> ORDER BY id
> LIMIT 10
> SETTING something=off, other=off

Use a function with a SET clause attached.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Gould 2008-12-17 15:18:41 Off Topic: MS Access and SSL to access PostgreSQL
Previous Message Adam Witney 2008-12-17 14:54:30 Re: Is this a security risk?