mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Remove DROPs from contrib object creation scripts, per Dave Page.
This commit is contained in:
@ -15,9 +15,8 @@ RETURNS int4[]
|
|||||||
AS 'MODULE_PATHNAME','int_agg_final_array'
|
AS 'MODULE_PATHNAME','int_agg_final_array'
|
||||||
LANGUAGE 'C' IMMUTABLE STRICT;
|
LANGUAGE 'C' IMMUTABLE STRICT;
|
||||||
|
|
||||||
-- The aggration funcion.
|
-- The aggregate function itself
|
||||||
-- uses the above functions to create an array of integers from an aggregation.
|
-- uses the above functions to create an array of integers from an aggregation.
|
||||||
DROP AGGREGATE int_array_aggregate(int4);
|
|
||||||
CREATE AGGREGATE int_array_aggregate (
|
CREATE AGGREGATE int_array_aggregate (
|
||||||
BASETYPE = int4,
|
BASETYPE = int4,
|
||||||
SFUNC = int_agg_state,
|
SFUNC = int_agg_state,
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Adjust this setting to control where the objects get created.
|
-- Adjust this setting to control where the objects get created.
|
||||||
SET search_path = public;
|
SET search_path = public;
|
||||||
|
|
||||||
DROP TYPE pgstattuple_type CASCADE;
|
|
||||||
CREATE TYPE pgstattuple_type AS (
|
CREATE TYPE pgstattuple_type AS (
|
||||||
table_len BIGINT, -- physical table length in bytes
|
table_len BIGINT, -- physical table length in bytes
|
||||||
tuple_count BIGINT, -- number of live tuples
|
tuple_count BIGINT, -- number of live tuples
|
||||||
|
Reference in New Issue
Block a user