If typecmds is going to have its own header file, said header file

should include what it needs.
This commit is contained in:
Tom Lane 2002-12-10 16:12:53 +00:00
parent be134e9dc4
commit 53f275b9e5
2 changed files with 8 additions and 5 deletions

View 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,

View 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);