diff options
| author | Alvaro Herrera | 2007-01-16 13:28:57 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2007-01-16 13:28:57 +0000 |
| commit | eb63cc3da82cec03c54a9534a6c91d287078abd1 (patch) | |
| tree | a8181fbd037cc02c1eeb68202b8632b20f536665 /src/include/postmaster | |
| parent | 02609893da8cac7689ec5173bc7d815e6f27ad2e (diff) | |
Arrange for autovacuum to be killed when another operation wants to be alone
accessing it, like DROP DATABASE. This allows the regression tests to pass
with autovacuum enabled, which open the gates for finally enabling autovacuum
by default.
Diffstat (limited to 'src/include/postmaster')
| -rw-r--r-- | src/include/postmaster/autovacuum.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/postmaster/autovacuum.h b/src/include/postmaster/autovacuum.h index c232ae3b488..7b3ad7e5509 100644 --- a/src/include/postmaster/autovacuum.h +++ b/src/include/postmaster/autovacuum.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/postmaster/autovacuum.h,v 1.6 2007/01/05 22:19:57 momjian Exp $ + * $PostgreSQL: pgsql/src/include/postmaster/autovacuum.h,v 1.7 2007/01/16 13:28:57 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -36,6 +36,7 @@ extern void autovac_stopped(void); #ifdef EXEC_BACKEND extern void AutoVacMain(int argc, char *argv[]); +extern void AutovacuumIAm(void); #endif #endif /* AUTOVACUUM_H */ |
