diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-03-19 21:14:20 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-03-19 21:14:20 +0000 |
commit | 470c6c12a15e309f3911d067f152839ab19ab4f9 (patch) | |
tree | b854b6e10040e8a8c5228037a85768bc0be13629 | |
parent | 5507b22dfcde9f86590e3904f6279d3600abe1b7 (diff) | |
download | postgresql-470c6c12a15e309f3911d067f152839ab19ab4f9.tar.gz postgresql-470c6c12a15e309f3911d067f152839ab19ab4f9.zip |
Remove another useless snapshot creation.
-rw-r--r-- | src/backend/postmaster/autovacuum.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/postmaster/autovacuum.c b/src/backend/postmaster/autovacuum.c index b55214e0bc5..28d8164ed4e 100644 --- a/src/backend/postmaster/autovacuum.c +++ b/src/backend/postmaster/autovacuum.c @@ -55,7 +55,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.74 2008/03/14 23:49:28 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.75 2008/03/19 21:14:20 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -1850,9 +1850,6 @@ do_autovacuum(void) /* Start a transaction so our commands have one to play into. */ StartTransactionCommand(); - /* functions in indexes may want a snapshot set */ - ActiveSnapshot = CopySnapshot(GetTransactionSnapshot()); - /* * Clean up any dead statistics collector entries for this DB. We always * want to do this exactly once per DB-processing cycle, even if we find |