Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 74883d3

Browse files
committed
Rethink naming of contrib/intagg extension.
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.
1 parent 0ff1b73 commit 74883d3

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

contrib/intagg/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# contrib/intagg/Makefile
22

3-
EXTENSION = int_aggregate
4-
DATA = int_aggregate--1.0.sql int_aggregate--unpackaged--1.0.sql
3+
EXTENSION = intagg
4+
DATA = intagg--1.0.sql intagg--unpackaged--1.0.sql
55

66
ifdef USE_PGXS
77
PG_CONFIG = pg_config

contrib/intagg/int_aggregate--unpackaged--1.0.sql

Lines changed: 0 additions & 6 deletions
This file was deleted.

contrib/intagg/int_aggregate--1.0.sql renamed to contrib/intagg/intagg--1.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* contrib/intagg/int_aggregate--1.0.sql */
1+
/* contrib/intagg/intagg--1.0.sql */
22

33
-- Internal function for the aggregate
44
-- Is called for each item in an aggregation
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* contrib/intagg/intagg--unpackaged--1.0.sql */
2+
3+
ALTER EXTENSION intagg ADD function int_agg_state(internal,integer);
4+
ALTER EXTENSION intagg ADD function int_agg_final_array(internal);
5+
ALTER EXTENSION intagg ADD function int_array_aggregate(integer);
6+
ALTER EXTENSION intagg ADD function int_array_enum(integer[]);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# int_aggregate extension
1+
# intagg extension
22
comment = 'integer aggregator and enumerator (obsolete)'
33
default_version = '1.0'
44
relocatable = true

0 commit comments

Comments
 (0)