Commit 2993f0c1 authored by Tom Lane's avatar Tom Lane

Reverse out getopt patch --- turns out it doesn't help on my

platform, and there are at least some people it's not broken for.  So undo
change until we can discuss a more portable solution.
parent 1764d957
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.119 1999/09/30 02:17:23 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.120 1999/09/30 02:45:17 tgl Exp $
* *
* NOTES * NOTES
* *
...@@ -404,7 +404,7 @@ PostmasterMain(int argc, char *argv[]) ...@@ -404,7 +404,7 @@ PostmasterMain(int argc, char *argv[])
DataDir = getenv("PGDATA"); /* default value */ DataDir = getenv("PGDATA"); /* default value */
opterr = 0; opterr = 0;
while ((opt = getopt(nonblank_argc, argv, "A:a:B:b:D:di:m:MN:no:p:Ss")) != EOF) while ((opt = getopt(nonblank_argc, argv, "A:a:B:b:D:di::m:MN:no:p:Ss")) != EOF)
{ {
switch (opt) switch (opt)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment