pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Raj kumar <rajkumar820999@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: JIT- on/off from postgres database
Date: Wed, 04 Mar 2020 09:59:29 +0100
Message-ID: <6e96e27ce4f93ceb9ab68cb5dfc2f34f0c00d575.camel@cybertec.at> (raw)
In-Reply-To: <CACxU--VqvtgWgEBKvj5KCoQW+KL8z50ANhRvUQBKyEgm+3GhSQ@mail.gmail.com>
References: <CACxU--VqvtgWgEBKvj5KCoQW+KL8z50ANhRvUQBKyEgm+3GhSQ@mail.gmail.com>

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






view thread (3+ messages)  latest in thread

Message-ID: <6e96e27ce4f93ceb9ab68cb5dfc2f34f0c00d575.camel@cybertec.at>
Permalink:  ../6e96e27ce4f93ceb9ab68cb5dfc2f34f0c00d575.camel@cybertec.at/
Also on:    postgresql.org/message-id/6e96e27ce4f93ceb9ab68cb5dfc2f34f0c00d575.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, rajkumar820999@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: JIT- on/off from postgres database
  In-Reply-To: <6e96e27ce4f93ceb9ab68cb5dfc2f34f0c00d575.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox