Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5a5f942

Browse files
committed
Another series started from utils/builtins.h
1 parentd93d3c8 commit5a5f942

File tree

8 files changed

+25
-34
lines changed

8 files changed

+25
-34
lines changed

‎src/include/access/skey.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: skey.h,v 1.2 1996/10/19 04:36:08 scrappy Exp $
9+
* $Id: skey.h,v 1.3 1996/11/04 07:45:26 scrappy Exp $
1010
*
1111
*
1212
* Note:
@@ -16,8 +16,7 @@
1616
#ifndefSKEY_H
1717
#defineSKEY_H
1818

19-
#include"access/attnum.h"
20-
19+
#include<access/attnum.h>
2120

2221
typedefstructScanKeyData {
2322
bits16sk_flags;/* flags */

‎src/include/access/strat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: strat.h,v 1.3 1996/11/01 09:30:41 scrappy Exp $
10+
* $Id: strat.h,v 1.4 1996/11/04 07:45:27 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndefSTRAT_H
1515
#defineSTRAT_H
1616

17-
#include"access/skey.h"
17+
#include<access/skey.h>
1818

1919
typedefuint16StrategyNumber;
2020

‎src/include/access/tupdesc.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: tupdesc.h,v 1.4 1996/11/01 09:22:33 scrappy Exp $
9+
* $Id: tupdesc.h,v 1.5 1996/11/04 07:45:28 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefTUPDESC_H
1414
#defineTUPDESC_H
1515

16-
#include"nodes/pg_list.h"
17-
#include"catalog/pg_attribute.h"
18-
#include"access/attnum.h"
16+
#include<nodes/pg_list.h>
17+
#include<access/attnum.h>
18+
#include<catalog/pg_attribute.h>
1919

2020
typedefstructtupleDesc {
2121
/*------------------------------------------------------------------------

‎src/include/rewrite/prs2lock.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: prs2lock.h,v 1.3 1996/11/01 09:30:54 scrappy Exp $
8+
* $Id: prs2lock.h,v 1.4 1996/11/04 07:45:46 scrappy Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
1212
#ifndefPRS2LOCK_H
1313
#definePRS2LOCK_H
1414

15-
#include"access/attnum.h"
16-
#include"nodes/pg_list.h"
15+
#include<access/attnum.h>
16+
#include<nodes/pg_list.h>
1717

1818
/*
1919
* RewriteRule -

‎src/include/storage/fd.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: fd.h,v 1.3 1996/11/01 09:31:10 scrappy Exp $
9+
* $Id: fd.h,v 1.4 1996/11/04 07:45:53 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -37,19 +37,15 @@
3737
/*
3838
* FileOpen uses the standard UNIX open(2) flags.
3939
*/
40-
#include<fcntl.h>/* for O_ on most */
4140
#ifndefO_RDONLY
42-
#include<sys/file.h>/* for O_ on the rest */
4341
#endif/* O_RDONLY */
4442

4543
/*
4644
* FileSeek uses the standard UNIX lseek(2) flags.
4745
*/
4846
#ifndefWIN32
49-
#include<unistd.h>/* for SEEK_ on most */
5047
#else
5148
#ifndefSEEK_SET
52-
#include<stdio.h>/* for SEEK_ on the rest */
5349
#endif/* SEEK_SET */
5450
#endif/* WIN32 */
5551

‎src/include/utils/builtins.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: builtins.h,v 1.4 1996/11/0404:00:43 momjian Exp $
9+
* $Id: builtins.h,v 1.5 1996/11/0407:46:00 scrappy Exp $
1010
*
1111
* NOTES
1212
* This should normally only be included by fmgr.h.
@@ -18,10 +18,10 @@
1818
#ifndefBUILTINS_H
1919
#defineBUILTINS_H
2020

21-
#include"storage/itemptr.h"
22-
#include"utils/nabstime.h"
23-
#include"utils/geo-decls.h"
24-
#include"utils/rel.h"
21+
#include<storage/itemptr.h>
22+
#include<utils/rel.h>
23+
#include<utils/nabstime.h>
24+
#include<utils/geo-decls.h>
2525

2626
/*
2727
*Defined in adt/
@@ -228,7 +228,6 @@ extern POLYGON*rt_poly_inter();
228228
externint32pqtest(structvarlena*vlena);
229229

230230
/* arrayfuncs.c */
231-
#include"utils/array.h"
232231

233232
/* date.c */
234233
externint32reltimein(char*timestring);
@@ -335,7 +334,6 @@ extern long float84gt(float64 arg1, float32 arg2);
335334
externlongfloat84ge(float64arg1,float32arg2);
336335

337336
/* geo-ops.c, geo-selfuncs.c */
338-
#include"utils/geo-decls.h"
339337

340338
/* misc.c */
341339
externboolNullValue(Datumvalue,bool*isNull);
@@ -425,6 +423,5 @@ extern struct varlena *byteaSetByte(struct varlena *v, int32 n, int32 newByte);
425423
externstructvarlena*byteaSetBit(structvarlena*v,int32n,int32newBit);
426424

427425
/* acl.c */
428-
#include"utils/acl.h"
429426

430427
#endif/* BUILTINS_H */

‎src/include/utils/geo-decls.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: geo-decls.h,v 1.2 1996/10/31 09:51:18 scrappy Exp $
9+
* $Id: geo-decls.h,v 1.3 1996/11/04 07:46:04 scrappy Exp $
1010
*
1111
* NOTE
1212
* These routines do *not* use the float types from adt/.
@@ -24,7 +24,6 @@
2424
*Useful floating point utilities and constants.
2525
*-------------------------------------------------------------------*/
2626

27-
#include<math.h>
2827

2928
#defineEPSILON1.0E-06
3029

‎src/include/utils/rel.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: rel.h,v 1.5 1996/11/01 09:31:17 scrappy Exp $
9+
* $Id: rel.h,v 1.6 1996/11/04 07:46:06 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefREL_H
1414
#defineREL_H
1515

16-
#include"access/strat.h"
17-
#include"rewrite/prs2lock.h"
18-
#include"access/tupdesc.h"
19-
#include"catalog/pg_class.h"
20-
#include"catalog/pg_am.h"
21-
#include"storage/fd.h"
16+
#include<access/strat.h>
17+
#include<rewrite/prs2lock.h>
18+
#include<access/tupdesc.h>
19+
#include<catalog/pg_class.h>
20+
#include<catalog/pg_am.h>
21+
#include<storage/fd.h>
2222

2323
typedefstructRelationData {
2424
Filerd_fd;/* open file descriptor */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp