Content-Length: 258122 | pFad | http://github.com/postgrespro/postgres/commit/7a245bfe76125e32bb26f63893ee9f9fb0fa3ce2

E9 Make pg_ctl use SIGINT as a default shutdown signal. · postgrespro/postgres@7a245bf · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/7a245bfe76125e32bb26f63893ee9f9fb0fa3ce2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy