]> granicus.if.org Git - postgresql/blobdiff - src/include/catalog/heap.h
Update copyright via script for 2017
[postgresql] / src / include / catalog / heap.h
index e6ac3943fcb66e58614e1b825b4597d0a90761eb..553958f4d27702189d3c984204f6ad432ef9e341 100644 (file)
@@ -4,7 +4,7 @@
  *       prototypes for functions in backend/catalog/heap.c
  *
  *
- * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * src/include/catalog/heap.h
@@ -134,4 +134,15 @@ extern void CheckAttributeType(const char *attname,
                                   List *containing_rowtypes,
                                   bool allow_system_table_mods);
 
+/* pg_partitioned_table catalog manipulation functions */
+extern void StorePartitionKey(Relation rel,
+                                       char strategy,
+                                       int16 partnatts,
+                                       AttrNumber *partattrs,
+                                       List *partexprs,
+                                       Oid *partopclass,
+                                       Oid *partcollation);
+extern void RemovePartitionKeyByRelId(Oid relid);
+extern void StorePartitionBound(Relation rel, Relation parent, Node *bound);
+
 #endif   /* HEAP_H */