Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

drop_aggregate(7) [redhat man page]

DROP 
AGGREGATE(7) SQL Commands DROP AGGREGATE(7) NAME
DROP AGGREGATE - remove a user-defined aggregate function SYNOPSIS
DROP AGGREGATE name ( type ) [ CASCADE | RESTRICT ] INPUTS name The name (optionally schema-qualified) of an existing aggregate function. type The input data type of the aggregate function, or * if the function accepts any input type. (Refer to the PostgreSQL User's Guide for further information about data types.) [Comment: This should become a cross-reference rather than a hard-coded chapter number] CASCADE Automatically drop objects that depend on the aggregate. RESTRICT Refuse to drop the aggregate if there are any dependent objects. This is the default. OUTPUTS DROP AGGREGATE Message returned if the command is successful. ERROR: RemoveAggregate: aggregate 'name' for type type does not exist This message occurs if the aggregate function specified does not exist in the database. DESCRIPTION
DROP AGGREGATE will delete an existing aggregate definition. To execute this command the current user must be the owner of the aggregate. NOTES Use CREATE AGGREGATE [create_aggregate(7)] to create aggregate functions. USAGE
To remove the myavg aggregate for type int4: DROP AGGREGATE myavg(int4); COMPATIBILITY
SQL92 There is no DROP AGGREGATE statement in SQL92; the statement is a PostgreSQL language extension. SQL - Language Statements 2002-11-22 DROP AGGREGATE(7)

Check Out this Related Man Page

DROP 
LANGUAGE(7) SQL Commands DROP LANGUAGE(7) NAME
DROP LANGUAGE - remove a user-defined procedural language SYNOPSIS
DROP [ PROCEDURAL ] LANGUAGE name [ CASCADE | RESTRICT ] INPUTS name The name of an existing procedural language. For backward compatibility, the name may be enclosed by single quotes. CASCADE Automatically drop objects that depend on the language (such as functions in the language). RESTRICT Refuse to drop the language if there are any dependent objects. This is the default. OUTPUTS DROP LANGUAGE This message is returned if the language is successfully dropped. ERROR: Language "name" doesn't exist This message occurs if a language called name is not found in the database. DESCRIPTION
DROP PROCEDURAL LANGUAGE will remove the definition of the previously registered procedural language called name. NOTES The DROP PROCEDURAL LANGUAGE statement is a PostgreSQL language extension. Refer to CREATE LANGUAGE [create_language(7)] for information on how to create procedural languages. USAGE
This command removes the PL/Sample language: DROP LANGUAGE plsample; COMPATIBILITY
SQL92 There is no DROP PROCEDURAL LANGUAGE in SQL92. SQL - Language Statements 2002-11-22 DROP LANGUAGE(7)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

aggregate ethernet ports under Solaris

I have been looking for info on how to aggregate 2 ore 3 NIC's into into one big pipe. Any advice would be appreciated. -Chuck (4 Replies)
Discussion started by: 98_1LE
4 Replies

2. UNIX for Advanced & Expert Users

AWK aggregate records

Hy all, I have a problem...can some one help me... I have a file of records sort: 30|239|ORD|447702936929 |blackberry.net |20080728|141304|00000900|2|0000000000000536|28181|0000000006|0000000001|10|1 30|239|ORD|447702936929 |blackberry.net ... (4 Replies)
Discussion started by: anaconga
4 Replies

3. Shell Programming and Scripting

IF statement file exist or not?

How can I check and see if the first parameter is a file existing in the current path or it is a real file and user input some random name in an IF statement? (5 Replies)
Discussion started by: bashily
5 Replies