Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit74883d3

Browse files
committed
Rethink naming of contrib/intagg extension.
Initially it was called int_aggregate after the old SQL file, but sincethe documentation just says "intagg" and that's also the directory name,let's conform to that instead.
1 parent0ff1b73 commit74883d3

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.sqlint_aggregate--unpackaged--1.0.sql
3+
EXTENSION =intagg
4+
DATA =intagg--1.0.sqlintagg--unpackaged--1.0.sql
55

66
ifdefUSE_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.sqlrenamed 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)

[8]ページ先頭

©2009-2025 Movatter.jp