Re: Bad Build

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Copeland <greg(at)CopelandConsulting(dot)Net>, PostgresSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bad Build
Date: 2002-03-08 00:51:06
Message-ID: 200203080051.g280p6o22704@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers

Tom Lane wrote:
> Greg Copeland <greg(at)CopelandConsulting(dot)Net> writes:
> > If I do "initdb" with the "-d" option, postgres will crash during the
> > bootstrap. I think it's because postgres is attempting to strlen(NULL)
> > while trying to build a string during it's option parsing.
>
> Fixed --- problem was bad option information passed to getopt().

Yes, I suspected it was somewhere in there but had to run out for an
hour. Was just looking at it. Before bootstrap just took -d while it
now takes '-d level'. I was sure I missed something and I see now it
was getopt(). Thanks.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Tim Finch, FosterFinch Ltd 2002-03-08 12:09:16 Re: undefined reference to 'crypt'
Previous Message Tom Lane 2002-03-08 00:47:54 Re: Bad Build

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2002-03-08 00:52:57 Re: Point in time recovery: recreating relation files
Previous Message Tom Lane 2002-03-08 00:47:54 Re: Bad Build