Skip to content

Commit

Permalink
Fix incorrect order of arguments in prototype (#887)
Browse files Browse the repository at this point in the history
The prototype of pg_setup_standby_mode() in the pgctl.h header file
listed the argument in the wrong order compared to the implementation.
The type of the arguments were equal so it still compiled fine.
  • Loading branch information
danielgustafsson committed May 13, 2022
1 parent ec5c3b8 commit eab8acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/pg_autoctl/pgctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ int pg_ctl_status(const char *pg_ctl, const char *pgdata, bool log_output);
bool pg_ctl_promote(const char *pg_ctl, const char *pgdata);

bool pg_setup_standby_mode(uint32_t pg_control_version,
const char *pg_ctl,
const char *pgdata,
const char *pg_ctl,
ReplicationSource *replicationSource);

bool pg_cleanup_standby_mode(uint32_t pg_control_version,
Expand Down

0 comments on commit eab8acc

Please sign in to comment.