We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89840d7 commit a0efc71Copy full SHA for a0efc71
contrib/pg_upgrade/option.c
@@ -415,7 +415,7 @@ adjust_data_dir(ClusterInfo *cluster)
415
* so this might fail --- only works for PG 9.2+. If this fails,
416
* pg_upgrade will fail anyway because the data files will not be found.
417
*/
418
- snprintf(cmd, sizeof(cmd), "\"%s/postmaster\" -D \"%s\" -C data_directory",
+ snprintf(cmd, sizeof(cmd), "\"%s/postgres\" -D \"%s\" -C data_directory",
419
cluster->bindir, cluster->pgconfig);
420
421
if ((output = popen(cmd, "r")) == NULL ||
0 commit comments