Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
44cb3ae7
Commit
44cb3ae7
authored
Jun 16, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a couple of obvious problems in DROP IF EXISTS patch.
parent
c892643a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
src/backend/commands/aggregatecmds.c
src/backend/commands/aggregatecmds.c
+2
-7
src/backend/parser/gram.y
src/backend/parser/gram.y
+5
-6
No files found.
src/backend/commands/aggregatecmds.c
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 20:23:44 adunstan
Exp $
* $PostgreSQL: pgsql/src/backend/commands/aggregatecmds.c,v 1.3
6 2006/06/16 23: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
;
}
}
...
...
src/backend/parser/gram.y
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 20:23:44 adunstan
Exp $
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.54
7 2006/06/16 23: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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment