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 <t...@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/4159834.1657405...@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/acd624644bc4f957824abcd00f6af27861b03a29 Modified Files -------------- src/backend/nodes/gen_node_support.pl | 12 ++++++------ src/backend/nodes/outfuncs.c | 23 +++++++++++++++++++---- 2 files changed, 25 insertions(+), 10 deletions(-)