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

Commit7730888

Browse files
committed
More cleanup
1 parent4d5aa34 commit7730888

35 files changed

+84
-80
lines changed

‎doc/TODO

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ PARSER
3737
* Unique index on base column not honored on inserts from inherited table
3838
INSERT INTO inherit_table (unique_index_col) VALUES (dup) should fail
3939
* CREATE TABLE x AS SELECT 1 UNION SELECT 2 fails
40+
* CREATE TABLE test(col char(2) DEFAULT user) fails in length restriction
4041

4142
VIEWS
4243

‎src/include/access/genam.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: genam.h,v 1.19 1999/07/15 23:03:33 momjian Exp $
9+
* $Id: genam.h,v 1.20 1999/07/16 17:07:25 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefGENAM_H
1414
#defineGENAM_H
1515

16-
#include"access/sdir.h"
1716
#include"access/funcindex.h"
18-
#include"access/relscan.h"
1917
#include"access/itup.h"
18+
#include"access/relscan.h"
19+
#include"access/sdir.h"
2020

2121
/* ----------------
2222
*generalized index_ interface routines

‎src/include/access/hash.h

Lines changed: 3 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: hash.h,v 1.26 1999/07/15 23:03:34 momjian Exp $
9+
* $Id: hash.h,v 1.27 1999/07/16 17:07:26 momjian Exp $
1010
*
1111
* NOTES
1212
*modeled after Margo Seltzer's hash implementation for unix.
@@ -16,10 +16,10 @@
1616
#ifndefHASH_H
1717
#defineHASH_H
1818

19-
#include"access/sdir.h"
2019
#include"access/funcindex.h"
21-
#include"access/relscan.h"
2220
#include"access/itup.h"
21+
#include"access/relscan.h"
22+
#include"access/sdir.h"
2323
#include"utils/int8.h"
2424

2525
/*

‎src/include/access/heapam.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: heapam.h,v 1.44 1999/07/15 15:20:53 momjian Exp $
9+
* $Id: heapam.h,v 1.45 1999/07/16 17:07:26 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefHEAPAM_H
1414
#defineHEAPAM_H
1515

1616
#include<time.h>
17-
#include"access/tupmacs.h"
1817
#include"access/htup.h"
1918
#include"access/relscan.h"
19+
#include"access/tupmacs.h"
2020
#include"storage/block.h"
2121
#include"utils/rel.h"
2222
#include"utils/tqual.h"

‎src/include/access/iqual.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: iqual.h,v 1.12 1999/07/15 23:03:34 momjian Exp $
9+
* $Id: iqual.h,v 1.13 1999/07/16 17:07:27 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefIQUAL_H
1414
#defineIQUAL_H
1515

16-
#include"access/skey.h"
1716
#include"access/itup.h"
17+
#include"access/skey.h"
1818

1919

2020
/* ----------------

‎src/include/access/itup.h

Lines changed: 2 additions & 2 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: itup.h,v 1.19 1999/07/15 23:03:35 momjian Exp $
9+
* $Id: itup.h,v 1.20 1999/07/16 17:07:27 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefITUP_H
1414
#defineITUP_H
1515

1616
#include"access/ibit.h"
17-
#include"access/tupmacs.h"
1817
#include"access/tupdesc.h"
18+
#include"access/tupmacs.h"
1919
#include"storage/itemptr.h"
2020

2121
#defineMaxIndexAttributeNumber 7

‎src/include/access/nbtree.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: nbtree.h,v 1.29 1999/07/15 23:03:35 momjian Exp $
9+
* $Id: nbtree.h,v 1.30 1999/07/16 17:07:27 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefNBTREE_H
1414
#defineNBTREE_H
1515

16-
#include"access/sdir.h"
17-
#include"access/relscan.h"
1816
#include"access/funcindex.h"
1917
#include"access/itup.h"
18+
#include"access/relscan.h"
19+
#include"access/sdir.h"
2020

2121
/*
2222
*BTPageOpaqueData -- At the end of every page, we store a pointer

‎src/include/access/rtscan.h

Lines changed: 2 additions & 2 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: rtscan.h,v 1.7 1999/07/15 23:03:37 momjian Exp $
9+
* $Id: rtscan.h,v 1.8 1999/07/16 17:07:27 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefRTSCAN_H
1414
#defineRTSCAN_H
1515

16-
#include"utils/rel.h"
1716
#include"storage/block.h"
1817
#include"storage/off.h"
18+
#include"utils/rel.h"
1919

2020
voidrtadjscans(Relationr,intop,BlockNumberblkno,OffsetNumberoffnum);
2121

‎src/include/access/tupdesc.h

Lines changed: 2 additions & 2 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.23 1999/07/15 23:03:38 momjian Exp $
9+
* $Id: tupdesc.h,v 1.24 1999/07/16 17:07:28 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefTUPDESC_H
1414
#defineTUPDESC_H
1515

16-
#include"nodes/pg_list.h"
1716
#include"access/attnum.h"
1817
#include"catalog/pg_attribute.h"
18+
#include"nodes/pg_list.h"
1919

2020

2121
typedefstructattrDefault

‎src/include/access/xact.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: xact.h,v 1.22 1999/07/15 23:03:38 momjian Exp $
9+
* $Id: xact.h,v 1.23 1999/07/16 17:07:28 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefXACT_H
1414
#defineXACT_H
1515

16-
#include"utils/nabstime.h"
1716
#include"access/transam.h"
17+
#include"utils/nabstime.h"
1818

1919
/* ----------------
2020
*transaction state structure

‎src/include/catalog/index.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: index.h,v 1.18 1999/07/15 23:03:42 momjian Exp $
9+
* $Id: index.h,v 1.19 1999/07/16 17:07:29 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefINDEX_H
1414
#defineINDEX_H
1515

16-
#include"nodes/execnodes.h"
1716
#include"access/itup.h"
17+
#include"nodes/execnodes.h"
1818

1919
externForm_pg_amAccessMethodObjectIdGetForm(OidaccessMethodObjectId);
2020

‎src/include/commands/defrem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: defrem.h,v 1.16 1999/07/15 23:03:44 momjian Exp $
9+
* $Id: defrem.h,v 1.17 1999/07/16 17:07:30 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefDEFREM_H
1414
#defineDEFREM_H
1515

16-
#include"tcop/dest.h"
1716
#include"nodes/parsenodes.h"
17+
#include"tcop/dest.h"
1818

1919
/*
2020
* prototypes in defind.c

‎src/include/commands/explain.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
*
66
* Copyright (c) 1994-5, Regents of the University of California
77
*
8-
* $Id: explain.h,v 1.8 1999/02/13 23:21:19 momjian Exp $
8+
* $Id: explain.h,v 1.9 1999/07/16 17:07:31 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
1212
#ifndefEXPLAIN_H
1313
#defineEXPLAIN_H
1414

15-
#include"tcop/dest.h"
1615
#include"nodes/parsenodes.h"
16+
#include"tcop/dest.h"
1717

1818
externvoidExplainQuery(Query*query,boolverbose,CommandDestdest);
1919

‎src/include/commands/trigger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#ifndefTRIGGER_H
1010
#defineTRIGGER_H
1111

12-
#include"nodes/parsenodes.h"
1312
#include"nodes/execnodes.h"
13+
#include"nodes/parsenodes.h"
1414

1515
typedefuint32TriggerEvent;
1616

‎src/include/executor/execFlatten.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: execFlatten.h,v 1.9 1999/07/15 15:21:04 momjian Exp $
9+
* $Id: execFlatten.h,v 1.10 1999/07/16 17:07:31 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefEXECFLATTEN_H
1414
#defineEXECFLATTEN_H
1515

16-
#include"nodes/relation.h"
1716
#include"nodes/execnodes.h"
17+
#include"nodes/relation.h"
1818

1919
externDatumExecEvalIter(Iter*iterNode,ExprContext*econtext,bool*resultIsNull,bool*iterIsDone);
2020

‎src/include/executor/execdesc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: execdesc.h,v 1.11 1999/07/15 23:03:47 momjian Exp $
10+
* $Id: execdesc.h,v 1.12 1999/07/16 17:07:32 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndefEXECDESC_H
1515
#defineEXECDESC_H
1616

17-
#include"tcop/dest.h"
18-
#include"nodes/plannodes.h"
1917
#include"nodes/parsenodes.h"
18+
#include"nodes/plannodes.h"
19+
#include"tcop/dest.h"
2020

2121
/* ----------------
2222
*query descriptor:

‎src/include/nodes/execnodes.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: execnodes.h,v 1.32 1999/07/15 23:03:52 momjian Exp $
9+
* $Id: execnodes.h,v 1.33 1999/07/16 17:07:33 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefEXECNODES_H
1414
#defineEXECNODES_H
1515

16-
#include"nodes/primnodes.h"
17-
#include"executor/hashjoin.h"
16+
#include"access/funcindex.h"
1817
#include"access/relscan.h"
1918
#include"access/sdir.h"
20-
#include"nodes/params.h"
19+
#include"executor/hashjoin.h"
2120
#include"executor/tuptable.h"
22-
#include"access/funcindex.h"
21+
#include"nodes/params.h"
22+
#include"nodes/primnodes.h"
2323

2424
/* ----------------
2525
* IndexInfo information

‎src/include/nodes/memnodes.h

Lines changed: 2 additions & 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: memnodes.h,v 1.14 1999/07/15 23:03:53 momjian Exp $
9+
* $Id: memnodes.h,v 1.15 1999/07/16 17:07:33 momjian Exp $
1010
*
1111
* XXX the typedefs in this file are different from the other ???nodes.h;
1212
* they are pointers to structures instead of the structures themselves.
@@ -19,8 +19,8 @@
1919
#defineMEMNODES_H
2020

2121
#include"lib/fstack.h"
22-
#include"utils/memutils.h"
2322
#include"nodes/nodes.h"
23+
#include"utils/memutils.h"
2424

2525
/*
2626
* MemoryContext

‎src/include/nodes/primnodes.h

Lines changed: 2 additions & 2 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: primnodes.h,v 1.30 1999/07/15 23:03:56 momjian Exp $
9+
* $Id: primnodes.h,v 1.31 1999/07/16 17:07:33 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefPRIMNODES_H
1414
#definePRIMNODES_H
1515

16-
#include"utils/fcache.h"
1716
#include"access/attnum.h"
1817
#include"nodes/pg_list.h"
18+
#include"utils/fcache.h"
1919

2020
/* ----------------------------------------------------------------
2121
*node definitions

‎src/include/optimizer/_deadcode/xfunc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: xfunc.h,v 1.2 1999/07/15 23:03:59 momjian Exp $
9+
* $Id: xfunc.h,v 1.3 1999/07/16 17:07:35 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefXFUNC_H
1414
#defineXFUNC_H
1515

16-
#include"utils/rel.h"
1716
#include"nodes/relation.h"
17+
#include"utils/rel.h"
1818

1919
/* command line arg flags */
2020
#defineXFUNC_OFF -1/* do no optimization of expensive preds */

‎src/include/optimizer/prep.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: prep.h,v 1.16 1999/07/15 23:03:59 momjian Exp $
9+
* $Id: prep.h,v 1.17 1999/07/16 17:07:34 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefPREP_H
1414
#definePREP_H
1515

16-
#include"nodes/plannodes.h"
1716
#include"nodes/parsenodes.h"
17+
#include"nodes/plannodes.h"
1818

1919
/*
2020
* prototypes for prepqual.c

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp