Re: floating point representationu - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: floating point representationu
Date
Msg-id 200102200407.XAA23427@candle.pha.pa.us
Whole thread Raw
In response to Re: floating point representationu  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Responses Re: floating point representationu  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > > >From the first I don't want to change the current default
> > > output format
> > >       "%." #FLT_DIG "g" (REAL)
> > >       "%." #DBL_DIG "g" (DOUBLE PRECISION)
> > > for 7.1 because their changes would cause a regress
> > > test failure.
> > 
> > But we run regress with the proper setting, right?> How does giving
> > people the ability to change the defaults affect the regression tests?
> > 
> 
> Hmm I'm afraid I'm misunderstanding your point.
> If the default float4(8) output format would be the
> same as current output format then we would have no
> problem with the current regress test. But there
> could be a choise to change default output format
> to have a large enough presision to distinguish
> float4(8).

But are they going to change the default to run the regression tests? 
How do they change it?  in ~/.psqlrc?

--  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: Turkish locale bug
Next
From: Thomas Lockhart
Date:
Subject: Re: floating point representation