]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
If typecmds is going to have its own header file, said header file
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 10 Dec 2002 16:12:53 +0000 (16:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 10 Dec 2002 16:12:53 +0000 (16:12 +0000)
should include what it needs.

src/include/commands/defrem.h
src/include/commands/typecmds.h

index 629a2e0a6a1cc004af7f233f5f1116cf52312842..2c2ace680585f64431f8336cebc2f0a57ab0c6fb 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: defrem.h,v 1.49 2002/12/06 05:00:31 momjian Exp $
+ * $Id: defrem.h,v 1.50 2002/12/10 16:12:52 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,7 +16,6 @@
 
 #include "nodes/parsenodes.h"
 
-#define DEFAULT_TYPDELIM               ','
 
 /* commands/indexcmds.c */
 extern void DefineIndex(RangeVar *heapRelation,
index e5ed70c52523e8d780ff130d83b897fed65cee77..2757d54276dcb54752e7616f856b4115186910dd 100644 (file)
@@ -1,19 +1,23 @@
 /*-------------------------------------------------------------------------
  *
- * tablecmds.h
- *       prototypes for tablecmds.c.
+ * typecmds.h
+ *       prototypes for typecmds.c.
  *
  *
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: typecmds.h,v 1.1 2002/12/06 05:00:31 momjian Exp $
+ * $Id: typecmds.h,v 1.2 2002/12/10 16:12:53 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef TYPECMDS_H
 #define TYPECMDS_H
 
+#include "nodes/parsenodes.h"
+
+#define DEFAULT_TYPDELIM               ','
+
 extern void DefineType(List *names, List *parameters);
 extern void RemoveType(List *names, DropBehavior behavior);
 extern void RemoveTypeById(Oid typeOid);