mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add vacuum_freeze_table_age GUC option, to control when VACUUM should
ignore the visibility map and scan the whole table, to advance relfrozenxid.
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.419 2009/01/01 17:23:43 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.420 2009/01/16 13:27:23 heikki Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -2865,7 +2865,7 @@ _copyVacuumStmt(VacuumStmt *from)
|
||||
COPY_SCALAR_FIELD(analyze);
|
||||
COPY_SCALAR_FIELD(verbose);
|
||||
COPY_SCALAR_FIELD(freeze_min_age);
|
||||
COPY_SCALAR_FIELD(scan_all);
|
||||
COPY_SCALAR_FIELD(freeze_table_age);
|
||||
COPY_NODE_FIELD(relation);
|
||||
COPY_NODE_FIELD(va_cols);
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.344 2009/01/01 17:23:43 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.345 2009/01/16 13:27:23 heikki Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1454,7 +1454,7 @@ _equalVacuumStmt(VacuumStmt *a, VacuumStmt *b)
|
||||
COMPARE_SCALAR_FIELD(analyze);
|
||||
COMPARE_SCALAR_FIELD(verbose);
|
||||
COMPARE_SCALAR_FIELD(freeze_min_age);
|
||||
COMPARE_SCALAR_FIELD(scan_all);
|
||||
COMPARE_SCALAR_FIELD(freeze_table_age);
|
||||
COMPARE_NODE_FIELD(relation);
|
||||
COMPARE_NODE_FIELD(va_cols);
|
||||
|
||||
|
Reference in New Issue
Block a user