Don't lose precision for float fields of Nodes.
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/gen_node_support.pl | modified | +6 −6 |
| src/backend/nodes/outfuncs.c | modified | +19 −4 |
Discussion
- Extending outfuncs support to utility statements 20 messages · 2022-07-09 → 2023-03-19