git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c07785d) | patch
Don't lose precision for float fields of Nodes.
2022年9月26日 14:02:09 +0000 (16:02 +0200)
2022年9月26日 14:02:09 +0000 (16:02 +0200)
commit acd624644bc4f957824abcd00f6af27861b03a29
Don't lose precision for float fields of Nodes.

Historically we've been more worried about making the output of
float fields look pretty than whether they'd be read back exactly.
That won't work if we're to compare the read-back nodes for
equality, so switch to using the Ryu code for float output.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/4159834.1657405226@sss.pgh.pa.us
src/backend/nodes/gen_node_support.pl diff | blob | blame | history
src/backend/nodes/outfuncs.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /