Tom Lane schrieb:
Quote:
Christof Petig <christof (AT) petig-baender (DOT) de> writes:
COPY test (x) FROM stdin;
0.29999999999999999
\.
This is not a bug; it's pg_dump trying to recreate the actual floating
point value as accurately as it can. See the discussion of
extra_float_digits from six months or a year back. |
Oh, I see (and generally appreciate). Thank you for reminding me.
Commenting out "set extra_float_digits=2" in pg_dump.c gives me the old
behaviour. Is it only me wishing for a command line parameter for
pg_dump to set desired precision?
Christof
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly