diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-10 16:12:53 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-10 16:12:53 +0000 |
commit | 53f275b9e5a80d63238ce100d72466b905363ba7 (patch) | |
tree | d6fd2d0578c158979f2c2e9376e62b53f375ef6d /src | |
parent | be134e9dc47ace7f1464a118b746272d41ca49af (diff) | |
download | postgresql-53f275b9e5a80d63238ce100d72466b905363ba7.tar.gz postgresql-53f275b9e5a80d63238ce100d72466b905363ba7.zip |
If typecmds is going to have its own header file, said header file
should include what it needs.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/commands/defrem.h | 3 | ||||
-rw-r--r-- | src/include/commands/typecmds.h | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h index 629a2e0a6a1..2c2ace68058 100644 --- a/src/include/commands/defrem.h +++ b/src/include/commands/defrem.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: 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, diff --git a/src/include/commands/typecmds.h b/src/include/commands/typecmds.h index e5ed70c5252..2757d54276d 100644 --- a/src/include/commands/typecmds.h +++ b/src/include/commands/typecmds.h @@ -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); |