]> granicus.if.org Git - postgresql/commit
For multi-table ANALYZE, use per-table transactions when possible
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 22 May 2004 23:14:38 +0000 (23:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 22 May 2004 23:14:38 +0000 (23:14 +0000)
commit4d86ae42600c42834a55371630416e98593b7b11
treeb14eda82cafe33e49ba834eddea88bc4053dfd3d
parente26c403fd0ce80db134a223b76cebd25eb039425
For multi-table ANALYZE, use per-table transactions when possible
(ie, when not inside a transaction block), so that we can avoid holding
locks longer than necessary.  Per trouble report from Philip Warner.
src/backend/access/transam/xact.c
src/backend/commands/vacuum.c
src/include/access/xact.h