Re: [HACKERS] Bug / feature request for floating point to string conversion

2012-10-10 Thread Daniel Frey
On 10.10.2012, at 20:26, Tom Lane wrote: > Daniel Frey writes: >> INSERT INTO dummy VALUES ( '0X1P-1022' ); > >> this value itself is the problem. If I use pg_dump / pg_restore, the restore >> fails with: > >> COPY failed for table "dumm

[HACKERS] Bug / feature request for floating point to string conversion

2012-10-10 Thread Daniel Frey
Hi, this is the follow-up to a recent IRC discussion. The topic at hand is floating point values and I think there is one problem which might be solvable only with a new feature. First, the problem: I created a table CREATE TABLE dummy ( v DOUBLE PRECISION ); so far, so good. Now, I would l