mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Instead of having a configure-time DEFAULT_ATTSTATTARGET, store -1 in
attstattarget to indicate 'use the default'. The default is now a GUC variable default_statistics_target, and so may be changed on the fly. Along the way we gain the ability to have pg_dump dump the per-column statistics target when it's not the default. Patch by Neil Conway, with some kibitzing from Tom Lane.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: vacuum.h,v 1.44 2002/06/20 20:29:49 momjian Exp $
|
||||
* $Id: vacuum.h,v 1.45 2002/07/31 17:19:54 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -34,6 +34,9 @@ typedef struct VacRUsage
|
||||
struct rusage ru;
|
||||
} VacRUsage;
|
||||
|
||||
/* Default statistics target (GUC parameter) */
|
||||
extern int default_statistics_target;
|
||||
|
||||
|
||||
/* in commands/vacuum.c */
|
||||
extern void vacuum(VacuumStmt *vacstmt);
|
||||
|
||||
Reference in New Issue
Block a user