Re: [PATCH] Stop ALTER SYSTEM from making bad assumptions
Ian Barwick <ian.barwick@2ndquadrant.com>
From: Ian Barwick <ian.barwick@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@anarazel.de>
Cc: Stephen Frost <sfrost@snowman.net>, Amit Kapila
<amit.kapila16@gmail.com>, Robert Haas <robertmhaas@gmail.com>,
Tomas Vondra <tomas.vondra@2ndquadrant.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2019-08-02T23:18:00Z
Lists: 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
Commits
-
Doc: improve documentation about postgresql.auto.conf.
- e3ddb112f245 10.11 landed
- 7f77f2aec3d0 11.6 landed
- 57980bdf62f4 9.4.25 landed
- 45aaaa42fefa 13.0 landed
- 372d6a8918e0 12.0 landed
- 1ab92aaa97ce 9.5.20 landed
- 0969a7aa3240 9.6.16 landed
-
Fix ALTER SYSTEM to cope with duplicate entries in postgresql.auto.conf.
- f1bf619acdff 13.0 landed
- f8c9a08520ee 10.11 landed
- a4b0d955bd23 9.4.25 landed
- 75b2f011f642 12.0 landed
- 4784ad7a370e 9.6.16 landed
- 32d38f54a369 11.6 landed
- 29f9b1819a72 9.5.20 landed