Remove DROPs from contrib object creation scripts, per Dave Page.

REL8_0_STABLE
Tom Lane 22 years ago
parent b3f2f6ebec
commit 392b187a21
  1. 3
      contrib/intagg/int_aggregate.sql.in
  2. 1
      contrib/pgstattuple/pgstattuple.sql.in

@ -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,

@ -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

Loading…
Cancel
Save