> Tom Lane writes:
>
> > Ugh. Nonetheless, that doesn't equate to "you need GNU getopt to use
> > this".
>
> ... which is not what it used to say either.
>
> > Can we be more specific about whether it works or not?
>
> I reported the bug on 2000-11-06 to this list and added the -c option
> briefly afterwards. The bug caused initdb to fail on whatever FreeBSD
> version postgresql.org was running at the time.
>
> I agree that we could alter the "works on some platforms" to "might not
> work on some platforms".
I just checked and OpenBSD doesn't have the fix either. Questions:
1) should we patch our getopt.c with that single-line fix?
2) should we force our own getopt on FreeBSD and OpenBSD for 7.2?
3) how should we update the docs for this?
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026