summaryrefslogtreecommitdiff
path: root/src/include/access/hash.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-05-02 22:25:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-05-02 22:25:10 +0000
commite57345975cf8ddbf044bfd164359e74e1a9bcab2 (patch)
tree6c838a5280564bef5a86cf6892920478f5a57937 /src/include/access/hash.h
parentd3171dd64b33160412b5d133861744215aa78c15 (diff)
downloadpostgresql-e57345975cf8ddbf044bfd164359e74e1a9bcab2.tar.gz
Clean up API for ambulkdelete/amvacuumcleanup as per today's discussion.
This formulation requires every AM to provide amvacuumcleanup, unlike before, but it's surely a whole lot cleaner. Also, add an 'amstorage' column to pg_am so that we can get rid of hardwired knowledge in DefineOpClass().
Diffstat (limited to 'src/include/access/hash.h')
-rw-r--r--src/include/access/hash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/hash.h b/src/include/access/hash.h
index 6f22d50da7..226b164ac8 100644
--- a/src/include/access/hash.h
+++ b/src/include/access/hash.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/hash.h,v 1.68 2006/03/31 23:32:06 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/access/hash.h,v 1.69 2006/05/02 22:25:10 tgl Exp $
*
* NOTES
* modeled after Margo Seltzer's hash implementation for unix.
@@ -233,6 +233,7 @@ extern Datum hashendscan(PG_FUNCTION_ARGS);
extern Datum hashmarkpos(PG_FUNCTION_ARGS);
extern Datum hashrestrpos(PG_FUNCTION_ARGS);
extern Datum hashbulkdelete(PG_FUNCTION_ARGS);
+extern Datum hashvacuumcleanup(PG_FUNCTION_ARGS);
/*
* Datatype-specific hash functions in hashfunc.c.