Re: [PATCH] Stop ALTER SYSTEM from making bad assumptions - Mailing list pgsql-hackers

From Ian Barwick
Subject Re: [PATCH] Stop ALTER SYSTEM from making bad assumptions
Date
Msg-id 1212f308-8140-32c8-2b5c-110f0f352f2d@2ndquadrant.com
Whole thread Raw
In response to Re: [PATCH] Stop ALTER SYSTEM from making bad assumptions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 8/3/19 8:09 AM, Tom Lane wrote:
> I wrote:
>> Andres Freund <andres@anarazel.de> writes:
>>> I think a commandline tool to perform the equivalent of ALTER SYSTEM on
>>> a shutdown cluster would be a great tool.
> 
>> Perhaps, but ...
> 
>>> Obviously this is widely out of scope for v12.
> 
>> ... this.
> 
> Although, there's always
> 
> echo "alter system set work_mem = 4242;" | postgres --single
> 
> Maybe we could recommend that to tools that need to do
> potentially-repetitive modifications?

The slight problem with that, particularly with the use-case
I am concerned with (writing replication configuration), is:

     [2019-08-03 08:14:21 JST]    FATAL:  0A000: standby mode is not supported by single-user servers

(I may be missing something obvious of course)


Regards

Ian Barwick

-- 
  Ian Barwick                   https://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Stop ALTER SYSTEM from making bad assumptions
Next
From: Andres Freund
Date:
Subject: Re: Feature improvement: can we add queryId forpg_catalog.pg_stat_activity view?