Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
0d8a7dc6
Commit
0d8a7dc6
authored
27 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
BETWEEN and LIKE patch from Thomas
parent
3b40fd9e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/parser/parse_expr.c
+16
-1
16 additions, 1 deletion
src/backend/parser/parse_expr.c
with
16 additions
and
1 deletion
src/backend/parser/parse_expr.c
+
16
−
1
View file @
0d8a7dc6
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.2
3
1998/0
2
/2
7 16:07:02 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.2
4
1998/0
3
/2
6 21:08:10 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -301,6 +301,21 @@ transformExpr(ParseState *pstate, Node *expr, int precedence)
...
@@ -301,6 +301,21 @@ transformExpr(ParseState *pstate, Node *expr, int precedence)
result
=
(
Node
*
)
expr
;
result
=
(
Node
*
)
expr
;
break
;
break
;
}
}
/* These nodes do _not_ come from the original parse tree.
* They result from parser transformation in this phase.
* At least one construct (BETWEEN/AND) puts the same nodes
* into two branches of the parse tree. Hence, some nodes
* are transformed twice. These nodes come from transforming
* a function call. Let's try just passing them through...
* - thomas 1998-03-14
*/
case
T_Expr
:
case
T_Var
:
case
T_Const
:
{
result
=
(
Node
*
)
expr
;
break
;
}
default:
default:
/* should not reach here */
/* should not reach here */
elog
(
ERROR
,
"transformExpr: does not know how to transform node %d"
,
elog
(
ERROR
,
"transformExpr: does not know how to transform node %d"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment