Skip to content

Commit 4688e6d

Browse files
committed
Fix pg_ctl bug where detection of binary location from postmaster.opts
wasn't working.
1 parent 5ff9899 commit 4688e6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.102 2008/06/26 03:51:56 momjian Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.103 2008/06/26 18:25:24 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -610,7 +610,7 @@ read_post_opts(void)
610610
*arg1 = '\0'; /* terminate so we get only program name */
611611
post_opts = arg1 + 1; /* point past whitespace */
612612
}
613-
if (postgres_path != NULL)
613+
if (postgres_path == NULL)
614614
postgres_path = optline;
615615
}
616616
}

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