Skip to content

Commit

Permalink
Bump to v2.18 (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
emelsimsek authored Aug 31, 2023
1 parent 835bdca commit 3b46994
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2023-08-29
==========
v2.18
- Updated for PostgreSQL 16

2022-08-25
==========
v2.17
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ Compatibility

This module has been tested on:

* **Postgres 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15**
* **Postgres 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16**

If you end up needing to change something to get this running on another system, send us the diff and we'll try to work it in!

Expand All @@ -398,7 +398,7 @@ Build

Specify versions:

export VER=2.17
export VER=2.18
export PGSHRT=11

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

Install RPM:

rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-2.16.x86_64.rpm
rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-2.18.x86_64.rpm

And if you want the debugging build:

rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-debuginfo-2.17.x86_64.rpm
rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-debuginfo-2.18.x86_64.rpm


## From source ##
Expand Down Expand Up @@ -471,7 +471,7 @@ And then just verify it's there:
List of installed extensions
Name | Version | Schema | Description
---------+---------+------------+-----------------------------------
hll | 2.17 | public | type for storing hyperloglog data
hll | 2.18 | public | type for storing hyperloglog data
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
(2 rows)

Expand All @@ -480,8 +480,8 @@ Tests

Start a PostgreSQL server running in default port:

pg_ctl -D data -l logfile -c start
initdb -D data
pg_ctl -D data -l logfile -c start

Run the tests:

Expand Down
1 change: 1 addition & 0 deletions expected/setup.out
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ ALTER EXTENSION hll UPDATE TO '2.14';
ALTER EXTENSION hll UPDATE TO '2.15';
ALTER EXTENSION hll UPDATE TO '2.16';
ALTER EXTENSION hll UPDATE TO '2.17';
ALTER EXTENSION hll UPDATE TO '2.18';
2 changes: 1 addition & 1 deletion hll.control
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

# hll extension
comment = 'type for storing hyperloglog data'
default_version = '2.17'
default_version = '2.18'
module_pathname = '$libdir/hll'
1 change: 1 addition & 0 deletions sql/setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ ALTER EXTENSION hll UPDATE TO '2.14';
ALTER EXTENSION hll UPDATE TO '2.15';
ALTER EXTENSION hll UPDATE TO '2.16';
ALTER EXTENSION hll UPDATE TO '2.17';
ALTER EXTENSION hll UPDATE TO '2.18';
1 change: 1 addition & 0 deletions update/hll--2.17--2.18.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-- Empty upgrade file to upgrade extension from 2.16 to 2.17

0 comments on commit 3b46994

Please sign in to comment.