]> granicus.if.org Git - postgresql/commit
Fix pgstattuple to acquire a read lock on the target table. This
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 19 Dec 2001 20:28:41 +0000 (20:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 19 Dec 2001 20:28:41 +0000 (20:28 +0000)
commit897083715b282881e5d85ba55285708c24cc2abb
tree41a3754b4b531a78c9570d19d64da138c7c7217b
parent9aa2e7da5198d2405c2b28e2d27f747c6b304fc2
Fix pgstattuple to acquire a read lock on the target table.  This
prevents embarassments such as having the table dropped or truncated
partway through the scan.  Also, fix free space calculation to include
pages that currently contain no tuples.
contrib/pgstattuple/README.pgstattuple
contrib/pgstattuple/pgstattuple.c