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

Commite5536e7

Browse files
committed
Move exprType(), exprTypmod(), expression_tree_walker(), and related routines
into nodes/nodeFuncs, so as to reduce wanton cross-subsystem #includes insidethe backend. There's probably more that should be done along this line,but this is a start anyway.
1 parentd320101 commite5536e7

File tree

55 files changed

+1864
-1909
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1864
-1909
lines changed

‎src/backend/catalog/dependency.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/catalog/dependency.c,v 1.79 2008/08/22 00:16:03 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/catalog/dependency.c,v 1.80 2008/08/25 22:42:32 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -56,7 +56,7 @@
5656
#include"commands/trigger.h"
5757
#include"commands/typecmds.h"
5858
#include"miscadmin.h"
59-
#include"optimizer/clauses.h"
59+
#include"nodes/nodeFuncs.h"
6060
#include"parser/parsetree.h"
6161
#include"rewrite/rewriteRemove.h"
6262
#include"storage/lmgr.h"

‎src/backend/catalog/heap.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/catalog/heap.c,v 1.337 2008/08/11 11:05:10 heikki Exp $
11+
* $PostgreSQL: pgsql/src/backend/catalog/heap.c,v 1.338 2008/08/25 22:42:32 tgl Exp $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -50,7 +50,7 @@
5050
#include"commands/tablecmds.h"
5151
#include"commands/typecmds.h"
5252
#include"miscadmin.h"
53-
#include"optimizer/clauses.h"
53+
#include"nodes/nodeFuncs.h"
5454
#include"optimizer/var.h"
5555
#include"parser/parse_coerce.h"
5656
#include"parser/parse_expr.h"

‎src/backend/catalog/index.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.302 2008/08/11 11:05:10 heikki Exp $
11+
* $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.303 2008/08/25 22:42:32 tgl Exp $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -44,9 +44,9 @@
4444
#include"commands/tablecmds.h"
4545
#include"executor/executor.h"
4646
#include"miscadmin.h"
47+
#include"nodes/nodeFuncs.h"
4748
#include"optimizer/clauses.h"
4849
#include"optimizer/var.h"
49-
#include"parser/parse_expr.h"
5050
#include"storage/bufmgr.h"
5151
#include"storage/lmgr.h"
5252
#include"storage/procarray.h"

‎src/backend/commands/analyze.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/analyze.c,v 1.124 2008/08/02 21:31:59 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/analyze.c,v 1.125 2008/08/25 22:42:32 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -28,7 +28,7 @@
2828
#include"commands/vacuum.h"
2929
#include"executor/executor.h"
3030
#include"miscadmin.h"
31-
#include"parser/parse_expr.h"
31+
#include"nodes/nodeFuncs.h"
3232
#include"parser/parse_oper.h"
3333
#include"parser/parse_relation.h"
3434
#include"pgstat.h"

‎src/backend/commands/indexcmds.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.178 2008/07/30 17:05:04 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.179 2008/08/25 22:42:32 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -32,9 +32,9 @@
3232
#include"commands/tablespace.h"
3333
#include"mb/pg_wchar.h"
3434
#include"miscadmin.h"
35+
#include"nodes/nodeFuncs.h"
3536
#include"optimizer/clauses.h"
3637
#include"parser/parse_coerce.h"
37-
#include"parser/parse_expr.h"
3838
#include"parser/parse_func.h"
3939
#include"parser/parsetree.h"
4040
#include"storage/lmgr.h"

‎src/backend/commands/prepare.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Copyright (c) 2002-2008, PostgreSQL Global Development Group
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.89 2008/07/21 15:26:55 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.90 2008/08/25 22:42:32 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -21,6 +21,7 @@
2121
#include"commands/explain.h"
2222
#include"commands/prepare.h"
2323
#include"miscadmin.h"
24+
#include"nodes/nodeFuncs.h"
2425
#include"parser/analyze.h"
2526
#include"parser/parse_coerce.h"
2627
#include"parser/parse_expr.h"

‎src/backend/commands/tablecmds.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.262 2008/08/11 11:05:11 heikki Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.263 2008/08/25 22:42:32 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -46,6 +46,7 @@
4646
#include"executor/executor.h"
4747
#include"miscadmin.h"
4848
#include"nodes/makefuncs.h"
49+
#include"nodes/nodeFuncs.h"
4950
#include"nodes/parsenodes.h"
5051
#include"optimizer/clauses.h"
5152
#include"optimizer/plancat.h"

‎src/backend/commands/view.c‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/view.c,v 1.106 2008/06/19 00:46:04 alvherre Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/view.c,v 1.107 2008/08/25 22:42:32 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -22,9 +22,8 @@
2222
#include"commands/view.h"
2323
#include"miscadmin.h"
2424
#include"nodes/makefuncs.h"
25-
#include"optimizer/clauses.h"
25+
#include"nodes/nodeFuncs.h"
2626
#include"parser/analyze.h"
27-
#include"parser/parse_expr.h"
2827
#include"parser/parse_relation.h"
2928
#include"rewrite/rewriteDefine.h"
3029
#include"rewrite/rewriteManip.h"

‎src/backend/executor/execMain.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
*
2828
* IDENTIFICATION
29-
* $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.312 2008/08/08 17:01:11 tgl Exp $
29+
* $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.313 2008/08/25 22:42:32 tgl Exp $
3030
*
3131
*-------------------------------------------------------------------------
3232
*/
@@ -45,9 +45,9 @@
4545
#include"executor/instrument.h"
4646
#include"executor/nodeSubplan.h"
4747
#include"miscadmin.h"
48+
#include"nodes/nodeFuncs.h"
4849
#include"optimizer/clauses.h"
4950
#include"parser/parse_clause.h"
50-
#include"parser/parse_expr.h"
5151
#include"parser/parsetree.h"
5252
#include"storage/bufmgr.h"
5353
#include"storage/lmgr.h"

‎src/backend/executor/execQual.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/executor/execQual.c,v 1.232 2008/08/22 00:16:03 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/executor/execQual.c,v 1.233 2008/08/25 22:42:32 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -44,8 +44,8 @@
4444
#include"funcapi.h"
4545
#include"miscadmin.h"
4646
#include"nodes/makefuncs.h"
47+
#include"nodes/nodeFuncs.h"
4748
#include"optimizer/planmain.h"
48-
#include"parser/parse_expr.h"
4949
#include"pgstat.h"
5050
#include"utils/acl.h"
5151
#include"utils/builtins.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp