pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedJIT- on/off from postgres database
3+ messages / 2 participants
[nested] [flat]
* JIT- on/off from postgres database
@ 2020-03-04 08:50 Raj kumar <rajkumar820999@gmail.com>
2020-03-04 08:59 ` Re: JIT- on/off from postgres database Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 3+ messages in thread
From: Raj kumar @ 2020-03-04 08:50 UTC (permalink / raw)
To: pgsql-admin@lists.postgresql.org
Hi ,
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.*
Attached the screenshot.
Thanks,
Raj
Attachments:
Screenshot 2020-03-04 at 2.13.34 PM.png (image/png, 149.3K) download
view image
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: JIT- on/off from postgres database
2020-03-04 08:50 JIT- on/off from postgres database Raj kumar <rajkumar820999@gmail.com>
@ 2020-03-04 08:59 ` Laurenz Albe <laurenz.albe@cybertec.at>
2020-03-04 09:10 ` Re: JIT- on/off from postgres database Raj kumar <rajkumar820999@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Laurenz Albe @ 2020-03-04 08:59 UTC (permalink / raw)
To: Raj kumar <rajkumar820999@gmail.com>; pgsql-admin@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: JIT- on/off from postgres database
2020-03-04 08:50 JIT- on/off from postgres database Raj kumar <rajkumar820999@gmail.com>
2020-03-04 08:59 ` Re: JIT- on/off from postgres database Laurenz Albe <laurenz.albe@cybertec.at>
@ 2020-03-04 09:10 ` Raj kumar <rajkumar820999@gmail.com>
0 siblings, 0 replies; 3+ messages in thread
From: Raj kumar @ 2020-03-04 09:10 UTC (permalink / raw)
To: Laurenz Albe <laurenz.albe@cybertec.at>; +Cc: pgsql-admin@lists.postgresql.org
Hi Laurenz,
Thank you :)
Thanks,
Raj.
On Wed, Mar 4, 2020 at 2:29 PM Laurenz Albe <laurenz.albe@cybertec.at>
wrote:
> 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
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-03-04 09:10 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-03-04 08:50 JIT- on/off from postgres database Raj kumar <rajkumar820999@gmail.com>
2020-03-04 08:59 ` Laurenz Albe <laurenz.albe@cybertec.at>
2020-03-04 09:10 ` Raj kumar <rajkumar820999@gmail.com>
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