Skip to content

Commit 53f275b

Browse files
committed
If typecmds is going to have its own header file, said header file
should include what it needs.
1 parent be134e9 commit 53f275b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/include/commands/defrem.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: defrem.h,v 1.49 2002/12/06 05:00:31 momjian Exp $
10+
* $Id: defrem.h,v 1.50 2002/12/10 16:12:52 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -16,7 +16,6 @@
1616

1717
#include "nodes/parsenodes.h"
1818

19-
#define DEFAULT_TYPDELIM ','
2019

2120
/* commands/indexcmds.c */
2221
extern void DefineIndex(RangeVar *heapRelation,

src/include/commands/typecmds.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
/*-------------------------------------------------------------------------
22
*
3-
* tablecmds.h
4-
* prototypes for tablecmds.c.
3+
* typecmds.h
4+
* prototypes for typecmds.c.
55
*
66
*
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: typecmds.h,v 1.1 2002/12/06 05:00:31 momjian Exp $
10+
* $Id: typecmds.h,v 1.2 2002/12/10 16:12:53 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndef TYPECMDS_H
1515
#define TYPECMDS_H
1616

17+
#include "nodes/parsenodes.h"
18+
19+
#define DEFAULT_TYPDELIM ','
20+
1721
extern void DefineType(List *names, List *parameters);
1822
extern void RemoveType(List *names, DropBehavior behavior);
1923
extern void RemoveTypeById(Oid typeOid);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy