Fix erroneous space calculation leading to core dump in dumpProcLangs,
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 3 May 2003 22:19:18 +0000 (22:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 3 May 2003 22:19:18 +0000 (22:19 +0000)
commitfd9dd1b964e610107f847208d1e0232101c5e93f
tree3efaa8e130976b9edce55d592d600672f0a5e0be
parent2df153b0f65d8fb19a0fa3812e973bd2744c6eb8
Fix erroneous space calculation leading to core dump in dumpProcLangs,
per report from Olivier Prenant.  Also fix off-by-one space calculation
in ReadToc; this woould not have hurt us until we had more than 100
dependencies for a single object, but wrong is wrong.
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_dump.c