Re: JIT- on/off from postgres database

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Raj kumar <rajkumar820999(at)gmail(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: JIT- on/off from postgres database
Date: 2020-03-04 08:59:29
Message-ID: 6e96e27ce4f93ceb9ab68cb5dfc2f34f0c00d575.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2020-03-04 at 14:20 +0530, Raj kumar wrote:
> I am using Postgres 12. I could see that it is possible to set 'JIT' as 'ON/OFF' at user level as well as database level.
>
> Should I always executed these commands from 'postgres' database? Because, if I alter JIT value
> for an application database where I am connected to that database, It is not getting reflected unless
> otherwise I switch to a different database and switch back to the same application database.

Parameters changed with ALTER DATABASE or ALTER ROLE won't take effect during the
current session. You have to disconnect and reconnect.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Raj kumar 2020-03-04 09:10:23 Re: JIT- on/off from postgres database
Previous Message Raj kumar 2020-03-04 08:50:25 JIT- on/off from postgres database