From: Tom Lane Date: Tue, 10 Dec 2002 16:12:53 +0000 (+0000) Subject: If typecmds is going to have its own header file, said header file X-Git-Tag: REL7_4_BETA1~1397 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53f275b9e5a80d63238ce100d72466b905363ba7;p=thirdparty%2Fpostgresql.git If typecmds is going to have its own header file, said header file should include what it needs. --- 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);