Skip to content

Commit

Permalink
Release 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Burak Yucesoy committed Nov 2, 2018
1 parent f38d824 commit df188d8
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ matrix:
- env: PGVERSION=10
- env: PGVERSION=11
before_install:
- git clone -b v0.7.5 --depth 1 https://github.com/citusdata/tools.git
- git clone -b v0.7.9 --depth 1 https://github.com/citusdata/tools.git
- sudo make -C tools install
- setup_apt
- nuke_pg
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2018-11-03
==========
v2.12 - More updates for PostgreSQL 11 and fixes

2018-08-25
==========
v2.11 - Updated for PostgreSQL 11
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
EXTENSION = hll
EXTVERSIONS = 2.10 2.11
EXTVERSIONS = 2.10 2.11 2.12

DATA_built = $(foreach v,$(EXTVERSIONS),$(EXTENSION)--$(v).sql)
DATA = $(wildcard $(EXTENSION)--*--*.sql)
Expand All @@ -34,3 +34,5 @@ $(EXTENSION)--2.10.sql: $(EXTENSION).sql
cat $^ > $@
$(EXTENSION)--2.11.sql: $(EXTENSION)--2.10.sql $(EXTENSION)--2.10--2.11.sql
cat $^ > $@
$(EXTENSION)--2.12.sql: $(EXTENSION)--2.11.sql $(EXTENSION)--2.11--2.12.sql
cat $^ > $@
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ Build

Specify versions:

export VER=2.11
export VER=2.12
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 @@ -394,11 +394,11 @@ Execute rpmbuild:

Install RPM:

rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-2.11.x86_64.rpm
rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-2.12.x86_64.rpm

And if you want the debugging build:

rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-debuginfo-2.11.x86_64.rpm
rpm -Uv rpmbuild/RPMS/x86_64/postgresql11-hll-debuginfo-2.12.x86_64.rpm


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

Expand Down
1 change: 1 addition & 0 deletions expected/setup.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CREATE EXTENSION hll VERSION '2.10';
ALTER EXTENSION hll UPDATE TO '2.11';
ALTER EXTENSION hll UPDATE TO '2.12';
1 change: 1 addition & 0 deletions hll--2.11--2.12.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-- Empty upgrade file to upgrade extension from 2.11 to 2.12
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.11'
default_version = '2.12'
module_pathname = '$libdir/hll'
1 change: 1 addition & 0 deletions sql/setup.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CREATE EXTENSION hll VERSION '2.10';
ALTER EXTENSION hll UPDATE TO '2.11';
ALTER EXTENSION hll UPDATE TO '2.12';

0 comments on commit df188d8

Please sign in to comment.