SET extra_float_digits = 3
Looks like that is a default setting in postgresql 8.5 onwards to guarantee recovery of higher precisions floats..

http://archives.postgresql.org/pgsql-bugs/2009-09/msg00171.php