Re: [HACKERS] psql and \do - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] psql and \do
Date
Msg-id 199907071547.LAA28610@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] psql and \do  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> > I am getting an crash on psql \do when assert checking is enabled.  The
> > problem is in cost_seqscan() where temp is now > 0.
> > 
> > Not sure on the cause yet.
> 
> Let me ask specifically.  With assert checking enabled, does \do crash
> psql in 6.5?
> 

OK, fixed.  The call to ceil() in plancat.c did not have a prototype, so
it thought ceil() returned an int, so it caused an invalid float value
that was only caught later on in cost_index().

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@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: Vince Vielhaber
Date:
Subject: Re: [HACKERS] History?
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] psql and \do