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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
44cb3ae7
Commit
44cb3ae7
authored
Jun 16, 2006
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Fix a couple of obvious problems in DROP IF EXISTS patch.
parent
c892643a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/commands/aggregatecmds.c
+2
-7
2 additions, 7 deletions
src/backend/commands/aggregatecmds.c
src/backend/parser/gram.y
+5
-6
5 additions, 6 deletions
src/backend/parser/gram.y
with
7 additions
and
13 deletions
src/backend/commands/aggregatecmds.c
+
2
−
7
View file @
44cb3ae7
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/aggregatecmds.c,v 1.3
5
2006/06/16 2
0:23:44 adunstan
Exp $
* $PostgreSQL: pgsql/src/backend/commands/aggregatecmds.c,v 1.3
6
2006/06/16 2
3:50:48 tgl
Exp $
*
*
* DESCRIPTION
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
* The "DefineFoo" routines take the parse tree and pick out the
...
@@ -216,14 +216,9 @@ RemoveAggregate(RemoveFuncStmt *stmt)
...
@@ -216,14 +216,9 @@ RemoveAggregate(RemoveFuncStmt *stmt)
if
(
!
OidIsValid
(
procOid
))
if
(
!
OidIsValid
(
procOid
))
{
{
/* we only get here if stmt->missing_ok is true */
/* we only get here if stmt->missing_ok is true */
/* XXX might need better message here */
ereport
(
NOTICE
,
ereport
(
NOTICE
,
(
errmsg
(
"aggregate %s does not exist ... skipping"
,
(
errmsg
(
"aggregate %s does not exist ... skipping"
,
stmt
->
name
)));
NameListToString
(
stmt
->
name
))));
return
;
return
;
}
}
...
...
...
...
This diff is collapsed.
Click to expand it.
src/backend/parser/gram.y
+
5
−
6
View file @
44cb3ae7
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.54
6
2006/06/16 2
0:23:44 adunstan
Exp $
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.54
7
2006/06/16 2
3:50:48 tgl
Exp $
*
*
* HISTORY
* HISTORY
* AUTHOR DATE MAJOR EVENT
* AUTHOR DATE MAJOR EVENT
...
@@ -4075,17 +4075,16 @@ DropCastStmt: DROP CAST opt_if_exists '(' Typename AS Typename ')' opt_drop_beha
...
@@ -4075,17 +4075,16 @@ DropCastStmt: DROP CAST opt_if_exists '(' Typename AS Typename ')' opt_drop_beha
n->sourcetype = $5;
n->sourcetype = $5;
n->targettype = $7;
n->targettype = $7;
n->behavior = $9;
n->behavior = $9;
n->missing_ok =
n->missing_ok =
$3;
$$ = (Node *)n;
$$ = (Node *)n;
}
}
;
;
opt_if_exists: IF_P EXISTS { $$ = true; }
opt_if_exists: IF_P EXISTS { $$ = true; }
| /* empty */
{ $$ = false; }
| /*EMPTY*/
{ $$ = false; }
;
;
/*****************************************************************************
/*****************************************************************************
*
*
* QUERY:
* QUERY:
...
...
...
...
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