Skip to content

Commit 7a245bf

Browse files
committed
Make pg_ctl use SIGINT as a default shutdown signal.
The commit 0badb06 changed the default shutdown mode from smart to fast, but forgot to change the default shutdown signal from SIGTERM to SIGINT.
1 parent ed7b3b3 commit 7a245bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static bool wait_set = false;
8080
static int wait_seconds = DEFAULT_WAIT;
8181
static bool silent_mode = false;
8282
static ShutdownMode shutdown_mode = FAST_MODE;
83-
static int sig = SIGTERM; /* default */
83+
static int sig = SIGINT; /* default */
8484
static CtlCommand ctl_command = NO_COMMAND;
8585
static char *pg_data = NULL;
8686
static char *pg_config = NULL;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy