postgresql/src/bin
Andres Freund c25ed20067 Fix record length computation in pg_waldump/xlogdump.
The current method of computing the record length (excluding the
lenght of full-page images) has been wrong since the WAL format has
been revamped in 2c03216d83.  Only the
main record's length was counted, but that can be significantly too
little if there's data associated with further blocks.

Fix by computing the record length as total_lenght - fpi_length.

Reported-By: Chen Huajun
Bug: #14687
Reviewed-By: Heikki Linnakangas
Discussion: https://postgr.es/m/20170603165939.1436.58887@wrigleys.postgresql.org
Backpatch: 9.5-
2017-06-05 16:10:07 -07:00
..
initdb Post-PG 10 beta1 pgperltidy run 2017-05-17 19:01:23 -04:00
pg_archivecleanup Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
pg_basebackup Generate pg_basebackup temporary slot name using backend pid 2017-05-31 21:00:37 +02:00
pg_config Translation updates 2017-05-15 12:19:54 -04:00
pg_controldata Translation updates 2017-05-15 12:19:54 -04:00
pg_ctl Post-PG 10 beta1 pgperltidy run 2017-05-17 19:01:23 -04:00
pg_dump Fix typo in pg_dump's support for dumping collations from pre-v10 servers. 2017-05-26 15:37:06 -04:00
pg_resetwal Prevent running pg_resetwal/pg_resetxlog against wrong-version data dirs. 2017-05-29 17:08:16 -04:00
pg_rewind Translation updates 2017-05-15 12:19:54 -04:00
pg_test_fsync Translation updates 2017-05-15 12:19:54 -04:00
pg_test_timing Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
pg_upgrade pg_upgrade: Handle hash index upgrades more smoothly. 2017-05-19 16:49:38 -04:00
pg_waldump Fix record length computation in pg_waldump/xlogdump. 2017-06-05 16:10:07 -07:00
pgbench Fix pgbench's --progress-timestamp option to print Unix-epoch timestamps. 2017-04-11 08:59:40 -04:00
pgevent Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
psql Add some missing backslash commands to psql's tab-completion knowledge. 2017-06-03 17:10:25 -04:00
scripts Post-PG 10 beta1 pgperltidy run 2017-05-17 19:01:23 -04:00
Makefile Rename user-facing tools with "xlog" in the name to say "wal". 2017-02-09 16:23:46 -05:00