Use calloc() to allocate empty structures.
Bruce Momjian <bruce@momjian.us>
Use calloc() to allocate empty structures. Fix pg_restore tar log output bug where Special flag wasn't being initialized; bug seen on XP.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_backup_custom.c | modified | +3 −3 |
| src/bin/pg_dump/pg_backup_files.c | modified | +4 −4 |
| src/bin/pg_dump/pg_backup_tar.c | modified | +6 −5 |
| src/bin/pg_dump/pg_dump.c | modified | +4 −7 |