Re: enabling join_collapse_limit for a single query only

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: <groovefillet(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: enabling join_collapse_limit for a single query only
Date: 2009-07-23 08:50:52
Message-ID: D960CB61B694CF459DCFB4B0128514C203937E58@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

groovefillet wrote:
> Is it possible to set the runtime parameter 'join_collapse_limit' for
> a single query only without setting/unsetting it before/after?

Yes:

START TRANSACTION;

SET LOCAL join_collapse_limit = 42;

SELECT .....

COMMIT;

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matt Harrison 2009-07-23 10:11:19 Re: enabling join_collapse_limit for a single query only
Previous Message Albe Laurenz 2009-07-23 08:48:36 Re: table.column in query results?