summaryrefslogtreecommitdiff
path: root/src/include/catalog/dependency.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-07-16 22:12:20 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-07-16 22:12:20 +0000
commit5af19e4227c4b1a1879956eb891af61469d3f8ba (patch)
tree3cc5204c0800d43e0b24864908778771a2562eda /src/include/catalog/dependency.h
parentcdebcad6af70ec13bd89f11cf7f3d8b7d5278f50 (diff)
downloadpostgresql-5af19e4227c4b1a1879956eb891af61469d3f8ba.tar.gz
Add more dependency insertions --- this completes the basic pg_depend
functionality. Of note: dropping a table that has a SERIAL column defined now drops the associated sequence automatically.
Diffstat (limited to 'src/include/catalog/dependency.h')
-rw-r--r--src/include/catalog/dependency.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/catalog/dependency.h b/src/include/catalog/dependency.h
index bcadaee732..b2780071ff 100644
--- a/src/include/catalog/dependency.h
+++ b/src/include/catalog/dependency.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: dependency.h,v 1.2 2002/07/16 05:53:34 tgl Exp $
+ * $Id: dependency.h,v 1.3 2002/07/16 22:12:20 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -98,4 +98,6 @@ extern void recordMultipleDependencies(const ObjectAddress *depender,
int nreferenced,
DependencyType behavior);
+extern void deleteDependencyRecordsFor(Oid classId, Oid objectId);
+
#endif /* DEPENDENCY_H */