mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	Remove another useless snapshot creation.
This commit is contained in:
		| @@ -55,7 +55,7 @@ | |||||||
|  * |  * | ||||||
|  * |  * | ||||||
|  * IDENTIFICATION |  * 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. */ | 	/* Start a transaction so our commands have one to play into. */ | ||||||
| 	StartTransactionCommand(); | 	StartTransactionCommand(); | ||||||
|  |  | ||||||
| 	/* functions in indexes may want a snapshot set */ |  | ||||||
| 	ActiveSnapshot = CopySnapshot(GetTransactionSnapshot()); |  | ||||||
|  |  | ||||||
| 	/* | 	/* | ||||||
| 	 * Clean up any dead statistics collector entries for this DB. We always | 	 * 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 | 	 * want to do this exactly once per DB-processing cycle, even if we find | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user