Re: Bad Build - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Bad Build
Date
Msg-id 200203080051.g280p6o22704@candle.pha.pa.us
Whole thread Raw
In response to Re: Bad Build  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Greg Copeland <greg@CopelandConsulting.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@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
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bad Build
Next
From: Tatsuo Ishii
Date:
Subject: Re: point in time recovery and moving datafiles online