OSDN Git Service

Fix erroneous space calculation leading to core dump in dumpProcLangs,
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 3 May 2003 22:18:59 +0000 (22:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 3 May 2003 22:18:59 +0000 (22:18 +0000)
commit228697179adac8da31e0a832e730d0927cf6d0c1
tree99dc7d8ccd44ef160361105c307d8b124475a54a
parent5295fffc26d9bb02fc3b51cbb4f7de744ee50046
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