Content-Length: 285698 | pFad | http://github.com/postgrespro/postgres_cluster/commit/e019bbc9e8cc82f231f4eb5a6539302dc11ee91b

B2 Set the node properly, per Tom. · postgrespro/postgres_cluster@e019bbc · GitHub
Skip to content

Commit e019bbc

Browse files
committed
Set the node properly, per Tom.
1 parent a0abe87 commit e019bbc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/postmaster/autovacuum.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.37 2007/03/23 21:45:17 alvherre Exp $
13+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.38 2007/03/23 21:57:10 alvherre Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -1276,13 +1276,16 @@ autovacuum_do_vac_analyze(Oid relid, bool dovacuum, bool doanalyze,
12761276
VacuumStmt vacstmt;
12771277
MemoryContext old_cxt;
12781278

1279+
MemSet(&vacstmt, 0, sizeof(vacstmt));
1280+
12791281
/*
12801282
* The list must survive transaction boundaries, so make sure we create it
12811283
* in a long-lived context
12821284
*/
12831285
old_cxt = MemoryContextSwitchTo(AutovacMemCxt);
12841286

12851287
/* Set up command parameters */
1288+
vacstmt.type = T_VacuumStmt;
12861289
vacstmt.vacuum = dovacuum;
12871290
vacstmt.full = false;
12881291
vacstmt.analyze = doanalyze;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/e019bbc9e8cc82f231f4eb5a6539302dc11ee91b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy