File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 99 *
1010 *
1111 * IDENTIFICATION
12- * $PostgreSQL: pgsql/src/backend/commands/aggregatecmds.c,v 1.35 2006/06/16 20: 23:44 adunstan Exp $
12+ * $PostgreSQL: pgsql/src/backend/commands/aggregatecmds.c,v 1.36 2006/06/16 23:50:48 tgl Exp $
1313 *
1414 * DESCRIPTION
1515 * The "DefineFoo" routines take the parse tree and pick out the
@@ -216,14 +216,9 @@ RemoveAggregate(RemoveFuncStmt *stmt)
216216 if (!OidIsValid (procOid ))
217217 {
218218 /* we only get here if stmt->missing_ok is true */
219-
220- /* XXX might need better message here */
221-
222219 ereport (NOTICE ,
223220 (errmsg ("aggregate %s does not exist ... skipping" ,
224- stmt -> name )));
225-
226-
221+ NameListToString (stmt -> name ))));
227222 return ;
228223 }
229224
Original file line number Diff line number Diff line change 1111 *
1212 *
1313 * IDENTIFICATION
14- * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.546 2006/06/16 20: 23:44 adunstan Exp $
14+ * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.547 2006/06/16 23:50:48 tgl Exp $
1515 *
1616 * HISTORY
1717 * AUTHOR DATE MAJOR EVENT
@@ -4075,15 +4075,14 @@ DropCastStmt: DROP CAST opt_if_exists '(' Typename AS Typename ')' opt_drop_beha
40754075 n->sourcetype = $5 ;
40764076 n->targettype = $7 ;
40774077 n->behavior = $9 ;
4078- n->missing_ok =
4078+ n->missing_ok = $3 ;
40794079 $$ = (Node *)n;
40804080 }
40814081 ;
40824082
4083- opt_if_exists: IF_P EXISTS { $$ = true ; }
4084- | /* empty */ { $$ = false ; }
4085- ;
4086-
4083+ opt_if_exists: IF_P EXISTS { $$ = true ; }
4084+ | /* EMPTY*/ { $$ = false ; }
4085+ ;
40874086
40884087
40894088/* ****************************************************************************
You can’t perform that action at this time.
0 commit comments