Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit470c6c1

Browse files
committed
Remove another useless snapshot creation.
1 parent5507b22 commit470c6c1

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)

[8]ページ先頭

©2009-2025 Movatter.jp