| From: | James Cloos <cloos(at)jhcloos(dot)com> |
|---|---|
| To: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Floating point error |
| Date: | 2013-03-02 23:11:31 |
| Message-ID: | m34ngt75xf.fsf@carbon.jhcloos.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
>>>>> "TD" == Tom Duffey <tduffey(at)trillitech(dot)com> writes:
TD> We have a script thatb uses COPY to transfer a subset of rows
TD> from a very large production table to a test table. The script
TD> was not setting extra_float_digits so the values did not match
TD> even though they appeared to match when running queries in psql.
Incidently, this is a prime example of where the hexidecimal format
for floats would benefit pg, as it makes the text format for floats
just as suitable for round-tripping as the binary format.
-JimC
--
James Cloos <cloos(at)jhcloos(dot)com> OpenPGP: 1024D/ED7DAEA6
| From | Date | Subject | |
|---|---|---|---|
| Next Message | G N | 2013-03-03 17:05:55 | out of memory issue |
| Previous Message | Chris Hanks | 2013-03-01 22:53:32 | Re: Poor performance when using a window function in a view |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Satoshi Nagayasu | 2013-03-03 06:33:59 | Fix pgstattuple/pgstatindex to use regclass-type as the argument |
| Previous Message | Heikki Linnakangas | 2013-03-02 18:47:48 | Re: scanner/parser minimization |