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

Commit91d1f2d

Browse files
committed
Rename a parse node to be more general
A WHERE clause will be used for row filtering in logical replication.We already have a similar node: 'WHERE (condition here)'. Let'srename the node to a generic name and use it for row filtering too.Author: Euler Taveira <euler.taveira@enterprisedb.com>Discussion:https://www.postgresql.org/message-id/flat/CAHE3wggb715X+mK_DitLXF25B=jE6xyNCH4YOwM860JR7HarGQ@mail.gmail.com
1 parenta1999a0 commit91d1f2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/parser/gram.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
495495
%type<node>def_argcolumnElemwhere_clausewhere_or_current_clause
496496
a_exprb_exprc_exprAexprConstindirection_elopt_slice_bound
497497
columnrefin_exprhaving_clausefunc_tablexmltablearray_expr
498-
ExclusionWhereClauseoperator_def_arg
498+
OptWhereClauseoperator_def_arg
499499
%type<list>rowsfrom_itemrowsfrom_listopt_col_def_list
500500
%type<boolean>opt_ordinality
501501
%type<list>ExclusionConstraintListExclusionConstraintElem
@@ -3837,7 +3837,7 @@ ConstraintElem:
38373837
$$ = (Node *)n;
38383838
}
38393839
|EXCLUDEaccess_method_clause'('ExclusionConstraintList')'
3840-
opt_c_includeopt_definitionOptConsTableSpaceExclusionWhereClause
3840+
opt_c_includeopt_definitionOptConsTableSpaceOptWhereClause
38413841
ConstraintAttributeSpec
38423842
{
38433843
Constraint *n = makeNode(Constraint);
@@ -3939,7 +3939,7 @@ ExclusionConstraintElem: index_elem WITH any_operator
39393939
}
39403940
;
39413941

3942-
ExclusionWhereClause:
3942+
OptWhereClause:
39433943
WHERE'('a_expr')'{$$ =$3; }
39443944
|/*EMPTY*/{$$ =NULL; }
39453945
;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp