Re: maintenance_work_mem

2020-11-19 Thread Philip Semanchuk
> On Nov 19, 2020, at 3:05 AM, Atul Kumar wrote: > > Hi, > > I have below queries: > > 1. How do i check the maintenance_work_mem for current session, before > setting some other value for this parameter for the same session. > > 2. and How do I set maintenan

Re: maintenance_work_mem

2020-11-19 Thread Andreas Schmitz
https://www.postgresql.org/docs/13/sql-show.html https://www.postgresql.org/docs/13/sql-set.html Regards Andreas Am 11/19/2020 um 9:05 AM schrieb Atul Kumar: > Hi, > > I have below queries: > > 1. How do i check the maintenance_work_mem for current session, before > settin

maintenance_work_mem

2020-11-19 Thread Atul Kumar
Hi, I have below queries: 1. How do i check the maintenance_work_mem for current session, before setting some other value for this parameter for the same session. 2. and How do I set maintenance_work_mem for a session only, and how will it be "rollback" once my maintainance work is