summaryrefslogtreecommitdiff
path: root/src/include/catalog/heap.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-06-27 03:21:55 +0000
committerBruce Momjian <bruce@momjian.us>2006-06-27 03:21:55 +0000
commit424b8e64c7dcaf82475785287ff4f38abcfd5e67 (patch)
treea87b151dc4809992b36fe6a40eb63692b1d89c7c /src/include/catalog/heap.h
parentba4b9c0d8cfb90f2906f968e9890ba5014405bf4 (diff)
downloadpostgresql-424b8e64c7dcaf82475785287ff4f38abcfd5e67.tar.gz
Disallow changing/dropping default expression of a SERIAL column
Dhanaraj M
Diffstat (limited to 'src/include/catalog/heap.h')
-rw-r--r--src/include/catalog/heap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h
index 4d17a05423..8489f88ebc 100644
--- a/src/include/catalog/heap.h
+++ b/src/include/catalog/heap.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/catalog/heap.h,v 1.80 2006/04/30 01:08:07 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/heap.h,v 1.81 2006/06/27 03:21:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -97,4 +97,7 @@ extern void CheckAttributeNamesTypes(TupleDesc tupdesc, char relkind);
extern void CheckAttributeType(const char *attname, Oid atttypid);
+extern void RemoveSequenceDefault(Oid relid, AttrNumber attnum,
+ DropBehavior behavior, bool flag);
+
#endif /* HEAP_H */