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

Commite019bbc

Browse files
committed
Set the node properly, per Tom.
1 parenta0abe87 commite019bbc

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
VacuumStmtvacstmt;
12771277
MemoryContextold_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)

[8]ページ先頭

©2009-2025 Movatter.jp