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

Commitf59a46a

Browse files
committed
Parser Overhaul
1 parent1dfe4ea commitf59a46a

File tree

10 files changed

+412
-495
lines changed

10 files changed

+412
-495
lines changed

‎src/backend/commands/recipe.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/recipe.c,v 1.2 1996/08/28 07:16:17 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/recipe.c,v 1.3 1996/10/30 02:01:45 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -690,10 +690,12 @@ tg_parseTeeNode(TgRecipe *r,
690690
same Tee. */
691691
if (rt_ind==0) {
692692
orig->rtable=lappend(orig->rtable,
693-
makeRangeTableEntry(tt,
693+
addRangeTableEntry(NULL,
694+
tt,
695+
tt,
694696
FALSE,
695-
NULL,
696-
tt));
697+
FALSE,
698+
NULL));
697699
rt_ind=length(orig->rtable);
698700
}
699701

‎src/backend/commands/view.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/view.c,v 1.1.1.1 1996/07/09 06:21:22 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/view.c,v 1.2 1996/10/30 02:01:47 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -235,9 +235,11 @@ UpdateRangeTableOfViewParse(char *viewName, Query *viewParse)
235235
* CURRENT first, then NEW....
236236
*/
237237
rt_entry1=
238-
makeRangeTableEntry((char*)viewName, FALSE,NULL,"*CURRENT*");
238+
addRangeTableEntry(NULL, (char*)viewName,"*CURRENT*",
239+
FALSE, FALSE,NULL);
239240
rt_entry2=
240-
makeRangeTableEntry((char*)viewName, FALSE,NULL,"*NEW*");
241+
addRangeTableEntry(NULL, (char*)viewName,"*NEW*",
242+
FALSE, FALSE,NULL);
241243
new_rt=lcons(rt_entry2,old_rt);
242244
new_rt=lcons(rt_entry1,new_rt);
243245

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp