Re: [PATCHES] pg_restore: fix bogosity

2005-06-21 Thread Neil Conway
Neil Conway wrote: Attached is a patch that I believe should implement what the author intended. Applied. -Neil ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

[PATCHES] pg_restore: fix bogosity

2005-06-20 Thread Neil Conway
The Coverity tool picked up some rather bizarre code in _tarGetHeader in pg_backup_tar.c: (1) The code doesn't initialize `sum', so the initial "does the checksum match?" test is wrong. (2) The loop that is intended to check for a "null block" just checks the first byte of the tar block 512