]> granicus.if.org Git - postgresql/commitdiff
Rethink naming of contrib/intagg extension.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Feb 2011 01:59:42 +0000 (20:59 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Feb 2011 02:00:24 +0000 (21:00 -0500)
Initially it was called int_aggregate after the old SQL file, but since
the documentation just says "intagg" and that's also the directory name,
let's conform to that instead.

contrib/intagg/Makefile
contrib/intagg/int_aggregate--unpackaged--1.0.sql [deleted file]
contrib/intagg/intagg--1.0.sql [moved from contrib/intagg/int_aggregate--1.0.sql with 95% similarity]
contrib/intagg/intagg--unpackaged--1.0.sql [new file with mode: 0644]
contrib/intagg/intagg.control [moved from contrib/intagg/int_aggregate.control with 79% similarity]

index 372c0919a70103688e3902520ebda8c33b450a12..2cfe9978e2d9321b5d9a93aa6cc8879f94e8318f 100644 (file)
@@ -1,7 +1,7 @@
 # contrib/intagg/Makefile
 
-EXTENSION = int_aggregate
-DATA = int_aggregate--1.0.sql int_aggregate--unpackaged--1.0.sql
+EXTENSION = intagg
+DATA = intagg--1.0.sql intagg--unpackaged--1.0.sql
 
 ifdef USE_PGXS
 PG_CONFIG = pg_config
diff --git a/contrib/intagg/int_aggregate--unpackaged--1.0.sql b/contrib/intagg/int_aggregate--unpackaged--1.0.sql
deleted file mode 100644 (file)
index 0bc874e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* contrib/intagg/int_aggregate--unpackaged--1.0.sql */
-
-ALTER EXTENSION int_aggregate ADD function int_agg_state(internal,integer);
-ALTER EXTENSION int_aggregate ADD function int_agg_final_array(internal);
-ALTER EXTENSION int_aggregate ADD function int_array_aggregate(integer);
-ALTER EXTENSION int_aggregate ADD function int_array_enum(integer[]);
similarity index 95%
rename from contrib/intagg/int_aggregate--1.0.sql
rename to contrib/intagg/intagg--1.0.sql
index ce78d17b77b9c830118dd13253d1c9ae934b60d6..19a57c079b8dc7017066d738f19846bcc8f52914 100644 (file)
@@ -1,4 +1,4 @@
-/* contrib/intagg/int_aggregate--1.0.sql */
+/* contrib/intagg/intagg--1.0.sql */
 
 -- Internal function for the aggregate
 -- Is called for each item in an aggregation
diff --git a/contrib/intagg/intagg--unpackaged--1.0.sql b/contrib/intagg/intagg--unpackaged--1.0.sql
new file mode 100644 (file)
index 0000000..95238d9
--- /dev/null
@@ -0,0 +1,6 @@
+/* contrib/intagg/intagg--unpackaged--1.0.sql */
+
+ALTER EXTENSION intagg ADD function int_agg_state(internal,integer);
+ALTER EXTENSION intagg ADD function int_agg_final_array(internal);
+ALTER EXTENSION intagg ADD function int_array_aggregate(integer);
+ALTER EXTENSION intagg ADD function int_array_enum(integer[]);
similarity index 79%
rename from contrib/intagg/int_aggregate.control
rename to contrib/intagg/intagg.control
index f8e47d5a7fde9e520cf513ea1264c1bf4af6f092..f11fb11940bed10b676f730c972297b84ff8d3bb 100644 (file)
@@ -1,4 +1,4 @@
-# int_aggregate extension
+# intagg extension
 comment = 'integer aggregator and enumerator (obsolete)'
 default_version = '1.0'
 relocatable = true