| From: | Vasilis Ventirozos <v(dot)ventirozos(at)gmail(dot)com> | 
|---|---|
| To: | pgsql-admin <pgsql-admin(at)postgresql(dot)org> | 
| Subject: | Re: wal_level not changing | 
| Date: | 2017-09-04 15:50:56 | 
| Message-ID: | 44FA41F7-71F1-4B26-90BF-ACEF3B20A7A2@gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-admin | 
try ALTER SYSTEM  set wal_level = 'minimal';
and then restart , just make sure that archiving is disabled first.
Vasilis Ventirozos
> On 4 Sep 2017, at 18:42, Sumeet Shukla <sumeet(dot)k(dot)shukla(at)gmail(dot)com> wrote:
> 
> 
> Hi,
> 
> update pg_settings set reset_val='minimal' where name='wal_level';
> 
> ERROR:  parameter "wal_level" cannot be changed without restarting the server
> 
>  
> set wal_level='minimal';
> 
> ERROR:  parameter "wal_level" cannot be changed without restarting the server
> 
> 
> 
> update pg_settings set setting='minimal' where name='wal_level';
> 
> 
> ERROR:  parameter "wal_level" cannot be changed without restarting the server
> 
> 
> 
> Even after restarting and reloading the server multiple times the setting does not update and remains as below:
> 
> show wal_level;
> 
> +-----------+
> 
> | wal_level |
> 
> +-----------+
> 
> | replica   |
> 
> 
> +-----------+
> 
> 
> 
> 
> 
> Thanks & Regards,
> Sumeet Shukla
> 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sumeet Shukla | 2017-09-04 15:58:31 | Re: wal_level not changing | 
| Previous Message | Sumeet Shukla | 2017-09-04 15:42:42 | wal_level not changing |