mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
From: Darren King <aixssd!darrenk@abs.net>
Subject: [PATCHES] DROP AGGREGATE patch/fix. Here's a patch that fixes the DROP AGGREGATE command to delete the desired aggregate for a specific type.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- errors.source
|
||||
--
|
||||
-- $Header: /cvsroot/pgsql/src/test/regress/sql/errors.sql,v 1.1 1997/04/27 03:56:21 scrappy Exp $
|
||||
-- $Header: /cvsroot/pgsql/src/test/regress/sql/errors.sql,v 1.2 1997/05/22 00:17:24 scrappy Exp $
|
||||
|
||||
|
||||
-- bad in postquel, but ok in postsql
|
||||
@ -182,6 +182,15 @@ drop aggregate 314159;
|
||||
-- no such aggregate
|
||||
drop aggregate nonesuch;
|
||||
|
||||
-- missing aggregate type
|
||||
drop aggregate newcnt1;
|
||||
|
||||
-- bad aggregate type
|
||||
drop aggregate newcnt nonesuch;
|
||||
|
||||
-- no such aggregate for type
|
||||
drop aggregate newcnt float4;
|
||||
|
||||
|
||||
--
|
||||
-- REMOVE FUNCTION
|
||||
|
Reference in New Issue
Block a user