Re: [HACKERS] psql and \do

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] psql and \do
Date: 1999-07-07 15:47:06
Message-ID: 199907071547.LAA28610@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-07-07 15:47:54 Re: [HACKERS] psql and \do
Previous Message Tom Lane 1999-07-07 15:31:08 Re: [HACKERS] psql and \do