Skip to content

Commit cedd601

Browse files
authored
Bump to 2.16 (#125)
* Bump to 2.16 Introduce PG14 support
1 parent 774c58d commit cedd601

File tree

9 files changed

+22
-12
lines changed

9 files changed

+22
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*.o
22
*.so
3+
*.bc
34
binary.dat
45
regression.out
56
regression.diffs

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2021-09-09
2+
==========
3+
v2.16
4+
- Updated for PostgreSQL 14
5+
16
2020-12-08
27
==========
38
v2.15.1

DEVELOPER.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ Cutting a new release
44
**NOTE:** This assumes you've run the tests and they pass.
55

66
1. Increase the version number.
7-
* [ ] Change the name of `hll--X.Y.Z.sql`.
7+
* [ ] Introduce `hll--<old>--<new>.sql`.
8+
* [ ] Change `CHANGELOG.md`.
89
* [ ] Change `hll.control`.
910
* [ ] Change `Makefile`.
10-
* [ ] Change `postgresql-hll.spec`.
1111
* [ ] Change `README.md`
12-
2. Edit changelogs in `postgresql-hll.spec` and `CHANGELOG.markdown`.
13-
3. Commit those two sets of changes.
14-
4. Tag the commit. 'vX.Y.Z' is the name format.
15-
5. Push tag and commits to `master`.
12+
* [ ] Change `setup.sql` and `setup.out`
13+
2. Commit changes and open a PR.
14+
3. Tag the commit on master after the PR is merged. 'vX.Y.Z' is the name format.

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
EXTENSION = hll
15-
EXTVERSIONS = 2.10 2.11 2.12 2.13 2.14 2.15
15+
EXTVERSIONS = 2.10 2.11 2.12 2.13 2.14 2.15 2.16
1616

1717
DATA_built = $(foreach v,$(EXTVERSIONS),$(EXTENSION)--$(v).sql) $(wildcard $(EXTENSION)--*--*.sql)
1818

@@ -45,3 +45,5 @@ $(EXTENSION)--2.14.sql: $(EXTENSION)--2.13.sql $(EXTENSION)--2.13--2.14.sql
4545
cat $^ > $@
4646
$(EXTENSION)--2.15.sql: $(EXTENSION)--2.14.sql $(EXTENSION)--2.14--2.15.sql
4747
cat $^ > $@
48+
$(EXTENSION)--2.16.sql: $(EXTENSION)--2.15.sql $(EXTENSION)--2.15--2.16.sql
49+
cat $^ > $@

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ Build
376376

377377
Specify versions:
378378

379-
export VER=2.12
379+
export VER=2.16
380380
export PGSHRT=11
381381

382382
Make sure `Makefile` points to the correct `pg_config` for the specified version, since `rpmbuild` doesn't respect env variables:
@@ -394,11 +394,11 @@ Execute rpmbuild:
394394

395395
Install RPM:
396396

397-
rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-2.12.x86_64.rpm
397+
rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-2.16.x86_64.rpm
398398

399399
And if you want the debugging build:
400400

401-
rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-debuginfo-2.12.x86_64.rpm
401+
rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-debuginfo-2.16.x86_64.rpm
402402

403403

404404
## From source ##
@@ -439,7 +439,7 @@ And then just verify it's there:
439439
List of installed extensions
440440
Name | Version | Schema | Description
441441
---------+---------+------------+-----------------------------------
442-
hll | 2.12 | public | type for storing hyperloglog data
442+
hll | 2.16 | public | type for storing hyperloglog data
443443
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
444444
(2 rows)
445445

expected/setup.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ ALTER EXTENSION hll UPDATE TO '2.12';
44
ALTER EXTENSION hll UPDATE TO '2.13';
55
ALTER EXTENSION hll UPDATE TO '2.14';
66
ALTER EXTENSION hll UPDATE TO '2.15';
7+
ALTER EXTENSION hll UPDATE TO '2.16';

hll.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
# hll extension
1616
comment = 'type for storing hyperloglog data'
17-
default_version = '2.15'
17+
default_version = '2.16'
1818
module_pathname = '$libdir/hll'

sql/setup.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ ALTER EXTENSION hll UPDATE TO '2.12';
44
ALTER EXTENSION hll UPDATE TO '2.13';
55
ALTER EXTENSION hll UPDATE TO '2.14';
66
ALTER EXTENSION hll UPDATE TO '2.15';
7+
ALTER EXTENSION hll UPDATE TO '2.16';

update/hll--2.15--2.16.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Empty upgrade file to upgrade extension from 2.15 to 2.16

0 commit comments

Comments
 (0)