postgresql/src/bin
Jeff Davis 1852aea3f5 Don't convert to and from floats in pg_dump.
Commit 8f427187db improved performance by remembering relation stats
as native types rather than issuing a new query for each relation.

Using native types is fine for integers like relpages; but reltuples
is floating point. The commit controllled for that complexity by using
setlocale(LC_NUMERIC, "C"). After that, Alexander Lakhin found a
problem in pg_strtof(), fixed in 00d61a08c5.

While we aren't aware of any more problems with that approach, it
seems wise to just use a string the whole way for floating point
values, as Corey's original patch did, and get rid of the
setlocale(). Integers are still converted to native types to avoid
wasting memory.

Co-authored-by: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://postgr.es/m/3049348.1740855411@sss.pgh.pa.us
Discussion: https://postgr.es/m/560cca3781740bd69881bb07e26eb8f65b09792c.camel%40j-davis.com
2025-03-08 11:25:36 -08:00
..
initdb Update to latest Snowball sources. 2025-02-18 21:13:54 -05:00
pg_amcheck pg_amcheck: Fix inconsistency in memory freeing 2025-02-27 14:05:51 +09:00
pg_archivecleanup Update copyright for 2025 2025-01-01 11:21:55 -05:00
pg_basebackup Add two-phase option in pg_createsubscriber. 2025-02-26 11:12:50 +05:30
pg_checksums Use PRI*64 instead of "ll*" in format strings (minimal trial) 2025-03-02 13:53:03 +01:00
pg_combinebackup Refactor TAP test code for file comparisons into new routine in Utils.pm 2025-02-09 16:52:33 +09:00
pg_config Update copyright for 2025 2025-01-01 11:21:55 -05:00
pg_controldata Add default_char_signedness field to ControlFileData. 2025-02-21 10:12:08 -08:00
pg_ctl Improve grammar of options for command arrays in TAP tests 2025-01-22 14:47:13 +09:00
pg_dump Don't convert to and from floats in pg_dump. 2025-03-08 11:25:36 -08:00
pg_resetwal pg_resetwal: Add --char-signedness option to change the default char signedness. 2025-02-21 10:14:36 -08:00
pg_rewind Change relpath() et al to return path by value 2025-02-25 09:02:07 -05:00
pg_test_fsync Improve grammar of options for command arrays in TAP tests 2025-01-22 14:47:13 +09:00
pg_test_timing Improve grammar of options for command arrays in TAP tests 2025-01-22 14:47:13 +09:00
pg_upgrade pg_upgrade: Check for the expected error message in TAP tests. 2025-03-04 11:16:12 -08:00
pg_verifybackup Improve grammar of options for command arrays in TAP tests 2025-01-22 14:47:13 +09:00
pg_waldump Improve grammar of options for command arrays in TAP tests 2025-01-22 14:47:13 +09:00
pg_walsummary Fix some gaps in pg_stat_io with WAL receiver and WAL summarizer 2025-03-05 10:17:39 +09:00
pgbench Avoid unnecessary computation of pgbench's script line number. 2025-02-27 10:57:55 -05:00
pgevent Update copyright for 2025 2025-01-01 11:21:55 -05:00
psql psql: Fix memory leak with \gx used within a pipeline 2025-03-05 07:56:03 +09:00
scripts Revert "vacuumdb: Add option for analyzing only relations missing stats." 2025-03-07 10:35:21 +07:00
Makefile Update copyright for 2025 2025-01-01 11:21:55 -05:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00