summaryrefslogtreecommitdiff
path: root/src/include/catalog
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-02-12 19:11:01 +0000
committerBruce Momjian <bruce@momjian.us>2006-02-12 19:11:01 +0000
commit04a2b54c09c1d60f7d04ba1de360fc0113864ffe (patch)
treebdc554bd95a47b60296d2132e6d110be2869d826 /src/include/catalog
parent92a26489acf46f3421a1ad3ae9457ef45cf0d66f (diff)
downloadpostgresql-04a2b54c09c1d60f7d04ba1de360fc0113864ffe.tar.gz
Revert patch becaues of locking concerns:
Allow ALTER TABLE ... ALTER CONSTRAINT ... RENAME Joachim Wieland
Diffstat (limited to 'src/include/catalog')
-rw-r--r--src/include/catalog/dependency.h8
-rw-r--r--src/include/catalog/pg_constraint.h8
2 files changed, 2 insertions, 14 deletions
diff --git a/src/include/catalog/dependency.h b/src/include/catalog/dependency.h
index c78556f9e8..157daf6cf9 100644
--- a/src/include/catalog/dependency.h
+++ b/src/include/catalog/dependency.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/catalog/dependency.h,v 1.19 2006/02/11 22:17:19 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/dependency.h,v 1.20 2006/02/12 19:11:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -179,12 +179,6 @@ extern long changeDependencyFor(Oid classId, Oid objectId,
extern bool objectIsInternalDependency(Oid classId, Oid objectId);
-extern List* getDependentOids(Oid classId, Oid objId,
- Oid refClassId, DependencyType deptype);
-
-extern List* getReferencingOids(Oid refClassId, Oid refObjId, Oid refObjSubId,
- Oid classId, DependencyType deptype);
-
/* in pg_shdepend.c */
extern void recordSharedDependencyOn(ObjectAddress *depender,
diff --git a/src/include/catalog/pg_constraint.h b/src/include/catalog/pg_constraint.h
index 6f1312e46b..40005e122e 100644
--- a/src/include/catalog/pg_constraint.h
+++ b/src/include/catalog/pg_constraint.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/catalog/pg_constraint.h,v 1.20 2006/02/11 22:17:19 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/pg_constraint.h,v 1.21 2006/02/12 19:11:01 momjian Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -187,10 +187,4 @@ extern char *GetConstraintNameForTrigger(Oid triggerId);
extern void AlterConstraintNamespaces(Oid ownerId, Oid oldNspId,
Oid newNspId, bool isType);
-extern void RenameConstraint(Oid conId, const char* newName,
- bool implicitRename, const char* cmdName);
-
-extern Oid GetRelationConstraintOid(Oid relId, const char* name);
-extern Oid GetConstraintRelationId(Oid conId);
-
#endif /* PG_CONSTRAINT_H */