Skip to content

Commit 470c6c1

Browse files
committed
Remove another useless snapshot creation.
1 parent 5507b22 commit 470c6c1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/backend/postmaster/autovacuum.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
*
5656
*
5757
* IDENTIFICATION
58-
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.74 2008/03/14 23:49:28 tgl Exp $
58+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.75 2008/03/19 21:14:20 alvherre Exp $
5959
*
6060
*-------------------------------------------------------------------------
6161
*/
@@ -1850,9 +1850,6 @@ do_autovacuum(void)
18501850
/* Start a transaction so our commands have one to play into. */
18511851
StartTransactionCommand();
18521852

1853-
/* functions in indexes may want a snapshot set */
1854-
ActiveSnapshot = CopySnapshot(GetTransactionSnapshot());
1855-
18561853
/*
18571854
* Clean up any dead statistics collector entries for this DB. We always
18581855
* want to do this exactly once per DB-processing cycle, even if we find

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy