diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-10 00:49:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-10 00:49:37 +0000 |
commit | c5451c22e38bc3044588c596966afcbe0c29b103 (patch) | |
tree | d9de143d40c1db99a5f5fbfc5c96e061fda0b768 /src/include | |
parent | e4718f2c9eff30dedd022fac53a1f874aa1955d8 (diff) |
Make relhasrules and relhastriggers work like relhasindex, namely we let
VACUUM reset them to false rather than trying to clean 'em up during DROP.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/commands/vacuum.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h index d45c3d0c96b..90446bc4f58 100644 --- a/src/include/commands/vacuum.h +++ b/src/include/commands/vacuum.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.80 2008/08/13 00:07:50 alvherre Exp $ + * $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.81 2008/11/10 00:49:37 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -130,7 +130,7 @@ extern void vacuum(VacuumStmt *vacstmt, Oid relid, bool do_toast, extern void vac_open_indexes(Relation relation, LOCKMODE lockmode, int *nindexes, Relation **Irel); extern void vac_close_indexes(int nindexes, Relation *Irel, LOCKMODE lockmode); -extern void vac_update_relstats(Oid relid, +extern void vac_update_relstats(Relation relation, BlockNumber num_pages, double num_tuples, bool hasindex, |