mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 23:56:58 +03:00
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.
This commit is contained in:
parent
0ff1b73509
commit
74883d3373
@ -1,7 +1,7 @@
|
|||||||
# contrib/intagg/Makefile
|
# contrib/intagg/Makefile
|
||||||
|
|
||||||
EXTENSION = int_aggregate
|
EXTENSION = intagg
|
||||||
DATA = int_aggregate--1.0.sql int_aggregate--unpackaged--1.0.sql
|
DATA = intagg--1.0.sql intagg--unpackaged--1.0.sql
|
||||||
|
|
||||||
ifdef USE_PGXS
|
ifdef USE_PGXS
|
||||||
PG_CONFIG = pg_config
|
PG_CONFIG = pg_config
|
||||||
|
@ -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[]);
|
|
@ -1,4 +1,4 @@
|
|||||||
/* contrib/intagg/int_aggregate--1.0.sql */
|
/* contrib/intagg/intagg--1.0.sql */
|
||||||
|
|
||||||
-- Internal function for the aggregate
|
-- Internal function for the aggregate
|
||||||
-- Is called for each item in an aggregation
|
-- Is called for each item in an aggregation
|
6
contrib/intagg/intagg--unpackaged--1.0.sql
Normal file
6
contrib/intagg/intagg--unpackaged--1.0.sql
Normal file
@ -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[]);
|
@ -1,4 +1,4 @@
|
|||||||
# int_aggregate extension
|
# intagg extension
|
||||||
comment = 'integer aggregator and enumerator (obsolete)'
|
comment = 'integer aggregator and enumerator (obsolete)'
|
||||||
default_version = '1.0'
|
default_version = '1.0'
|
||||||
relocatable = true
|
relocatable = true
|
Loading…
x
Reference in New Issue
Block a user