postgresql/src/bin
Amit Kapila bb60f2cb6e Fix pg_verify_checksums on Windows.
To verify the checksums, we open the file in text mode which doesn't work
on Windows as WIN32 treats Control-Z as EOF in files opened in text mode.
This leads to "short read of block .." error in some cases.

Fix it by opening the files in the binary mode.

Author: Amit Kapila
Reviewed-by: Magnus Hagander
Backpatch-through: 11
Discussion: https://postgr.es/m/CAA4eK1+LOnzod+h85FGmyjWzXKy-XV1FYwEyP-Tky2WpD5cxwA@mail.gmail.com
2018-08-31 15:25:42 +05:30
..
initdb Cosmetic cleanups in initdb.c. 2018-08-10 14:14:27 -04:00
pg_archivecleanup Don't fall off the end of perl functions 2018-05-27 09:08:42 -04:00
pg_basebackup Reset properly errno before calling write() 2018-08-05 05:31:18 +09:00
pg_config Translation updates 2018-05-21 12:29:52 -04:00
pg_controldata Translation updates 2018-06-25 12:37:18 +02:00
pg_ctl Translation updates 2018-05-21 12:29:52 -04:00
pg_dump pg_dump: Reorganize getTableAttrs() 2018-08-30 18:09:44 +02:00
pg_resetwal Flip argument order in XLogSegNoOffsetToRecPtr 2018-07-09 14:33:38 -04:00
pg_rewind Rework error messages around file handling 2018-07-18 08:01:23 +09:00
pg_test_fsync Translation updates 2018-05-21 12:29:52 -04:00
pg_test_timing Translation updates 2018-05-21 12:29:52 -04:00
pg_upgrade pg_upgrade: issue helpful error message for use on standbys 2018-08-17 10:25:48 -04:00
pg_verify_checksums Fix pg_verify_checksums on Windows. 2018-08-31 15:25:42 +05:30
pg_waldump Rework error messages around file handling 2018-07-18 08:01:23 +09:00
pgbench Fix handling of pgbench's hash when no argument is provided 2018-07-27 13:40:24 +09:00
pgevent Update copyright for 2018 2018-01-02 23:30:12 -05:00
psql doc: Update uses of the word "procedure" 2018-08-22 14:44:49 +02:00
scripts Add semicolons to end of internally run queries 2018-08-30 19:23:22 +02:00
Makefile Allow on-line enabling and disabling of data checksums 2018-04-05 22:04:48 +02:00