1PG_AUTOCTL STOP(1) pg_auto_failover PG_AUTOCTL STOP(1)
2
3
4
6 pg_autoctl stop - pg_autoctl stop
7
8 pg_autoctl stop - signal the pg_autoctl service for it to stop
9
11 This commands stops the processes needed to run a monitor node or a
12 keeper node, depending on the configuration file that belongs to the
13 --pgdata option or PGDATA environment variable.
14
15 usage: pg_autoctl stop [ --pgdata --fast --immediate ]
16
17 --pgdata path to data directory
18 --fast fast shutdown mode for the keeper
19 --immediate immediate shutdown mode for the keeper
20
22 The pg_autoctl stop commands finds the PID of the running service for
23 the given --pgdata, and if the process is still running, sends a
24 SIGTERM signal to the process.
25
26 When pg_autoclt receives a shutdown signal a shutdown sequence is trig‐
27 gered. Depending on the signal received, an operation that has been
28 started (such as a state transition) is either run to completion,
29 stopped as the next opportunity, or stopped immediately even when in
30 the middle of the transition.
31
33 --pgdata
34 Location of the Postgres node being managed locally. Defaults to
35 the environment variable PGDATA. Use --monitor to connect to a
36 monitor from anywhere, rather than the monitor URI used by a lo‐
37 cal Postgres node managed with pg_autoctl.
38
39 --fast Fast Shutdown mode for pg_autoctl. Sends the SIGINT signal to
40 the running service, which is the same as using C-c on an inter‐
41 active process running as a foreground shell job.
42
43 --immediate
44 Immediate Shutdown mode for pg_autoctl. Sends the SIGQUIT signal
45 to the running service.
46
48 Microsoft
49
51 Copyright (c) Microsoft Corporation. All rights reserved.
52
53
54
55
561.6 Aug 04, 2022 PG_AUTOCTL STOP(1)