Skip to content

Commit

Permalink
fix(initdb): Modify the instructions to use ag_ctl instead of pg_ctl.
Browse files Browse the repository at this point in the history
  • Loading branch information
emotionbug committed Oct 13, 2021
1 parent 8691577 commit ee9b299
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin/initdb/initdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3399,7 +3399,8 @@ main(int argc, char *argv[])
canonicalize_path(pg_ctl_path);
get_parent_directory(pg_ctl_path);
/* ... and tag on pg_ctl instead */
join_path_components(pg_ctl_path, pg_ctl_path, "pg_ctl");
/* No reason to change name instead pg_ctl. this is shitty reason. */
join_path_components(pg_ctl_path, pg_ctl_path, "ag_ctl");

/* path to pg_ctl, properly quoted */
appendShellString(start_db_cmd, pg_ctl_path);
Expand Down

0 comments on commit ee9b299

Please sign in to comment.