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.
Showing
Please register or sign in to comment