Remove DROPs from contrib object creation scripts, per Dave Page.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Oct 2004 15:43:40 +0000 (15:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Oct 2004 15:43:40 +0000 (15:43 +0000)
contrib/intagg/int_aggregate.sql.in
contrib/pgstattuple/pgstattuple.sql.in

index 31279c5b33f95f09042f21d36d1af4a0dfd6b1c5..8a7d9b32386c5a44f1eb5a67557212ebbdb11e8d 100644 (file)
@@ -15,9 +15,8 @@ RETURNS int4[]
 AS 'MODULE_PATHNAME','int_agg_final_array'
 LANGUAGE 'C' IMMUTABLE STRICT;
 
--- The aggration funcion.
+-- The aggregate function itself
 -- uses the above functions to create an array of integers from an aggregation.
-DROP AGGREGATE int_array_aggregate(int4);
 CREATE AGGREGATE int_array_aggregate (
        BASETYPE = int4,
        SFUNC = int_agg_state,
index b75c845159230a0e06b41246a2c706af5dcf4ac4..f7eac5040f94beac1a7b4f35b446f349ea5c2cd6 100644 (file)
@@ -1,7 +1,6 @@
 -- Adjust this setting to control where the objects get created.
 SET search_path = public;
 
-DROP TYPE pgstattuple_type CASCADE;
 CREATE TYPE pgstattuple_type AS (
        table_len BIGINT,               -- physical table length in bytes
        tuple_count BIGINT,             -- number of live tuples