|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | vacuumingOptions |
Macros | |
| #define | ANALYZE_NO_STAGE -1 |
| #define | ANALYZE_NUM_STAGES 3 |
| #define | OBJFILTER_ALL_DBS 0x01 /* --all */ |
| #define | OBJFILTER_DATABASE 0x02 /* --dbname */ |
| #define | OBJFILTER_TABLE 0x04 /* --table */ |
| #define | OBJFILTER_SCHEMA 0x08 /* --schema */ |
| #define | OBJFILTER_SCHEMA_EXCLUDE 0x10 /* --exclude-schema */ |
Typedefs | |
| typedef struct vacuumingOptions | vacuumingOptions |
Enumerations | |
| enum | RunMode { MODE_VACUUM , MODE_ANALYZE , MODE_ANALYZE_IN_STAGES } |
Functions | |
| int | vacuuming_main (ConnParams *cparams, const char *dbname, const char *maintenance_db, vacuumingOptions *vacopts, SimpleStringList *objects, unsigned int tbl_count, int concurrentCons, const char *progname) |
| char * | escape_quotes (const char *src) |
| #define ANALYZE_NO_STAGE -1 |
Definition at line 28 of file vacuuming.h.
| #define ANALYZE_NUM_STAGES 3 |
Definition at line 29 of file vacuuming.h.
| #define OBJFILTER_ALL_DBS 0x01 /* --all */ |
Definition at line 60 of file vacuuming.h.
Definition at line 61 of file vacuuming.h.
| #define OBJFILTER_SCHEMA 0x08 /* --schema */ |
Definition at line 63 of file vacuuming.h.
| #define OBJFILTER_SCHEMA_EXCLUDE 0x10 /* --exclude-schema */ |
Definition at line 64 of file vacuuming.h.
Definition at line 62 of file vacuuming.h.
| Enumerator | |
|---|---|
| MODE_VACUUM | |
| MODE_ANALYZE | |
| MODE_ANALYZE_IN_STAGES | |
Definition at line 20 of file vacuuming.h.
Definition at line 1043 of file vacuuming.c.
References escape_single_quotes_ascii(), and pg_fatal.
|
extern |
Definition at line 55 of file vacuuming.c.
References ANALYZE_NO_STAGE, ANALYZE_NUM_STAGES, dbname, _connParams::dbname, EXIT_SUCCESS, fb(), free_retrieved_objects(), get_user_name_or_exit(), MODE_ANALYZE_IN_STAGES, OBJFILTER_ALL_DBS, progname, setup_cancel_handler(), vacuum_all_databases(), and vacuum_one_database().
Referenced by main().