Skip to content

Commit

Permalink
Release/prepare 1.6.2 (#804)
Browse files Browse the repository at this point in the history
* Prepare release 1.6.2

* Upgrade parson library.
  • Loading branch information
DimCitus authored Sep 9, 2021
1 parent f735eae commit dc53632
Show file tree
Hide file tree
Showing 12 changed files with 737 additions and 343 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
### pg_auto_failover v1.6.2 (September 8, 2021) ###

This is a bug fix release for the 1.6 series.

#### Added
* Also retry libpq connections to a local host. (#793)

#### Changed
* Only exit at upgrade when the on-disk binary is ready. (#771)
* Only use wait_maintenance to wait for wait_primary (#794)
* Get rid of the JOIN_PRIMARY state. (#796)
* Make sure to disable sync rep when initializing a primary. (#801)

#### Fixed
* Avoid re-electing primary during a switchover. (#772)
* Improve error messages for missing configuration files. (#779)
* Fix replication slot maintenance on secondary nodes. (#781)
* Fix problems with bad migration to 1.5 (#792)
* Fix maintenance state related transitions. (#786)
* Per valgrind, fix some memory leaks. (#799)
* When creating from an existing PGDATA, fix missing initialization. (#802)

### pg_auto_failover v1.6.1 (July 7, 2021) ###

This release contains monitor schema changes, so the monitor extension gets
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ AZURE_LOCATION ?= francecentral
# postgresql-${AZ_PG_VERSION}-auto-failover-${AZ_PGAF_DEB_VERSION}=${AZ_PGAF_VERSION}
AZ_PG_VERSION ?= 13
AZ_PGAF_DEB_VERSION ?= 1.6
AZ_PGAF_DEB_REVISION ?= 1.6.1-1
AZ_PGAF_DEB_REVISION ?= 1.6.2-1

export AZ_PG_VERSION
export AZ_PGAF_DEB_VERSION
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(self, **options):
# The short X.Y version.
version = "1.6"
# The full version, including alpha/beta/rc tags.
release = "1.6.1"
release = "1.6.2"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
12 changes: 8 additions & 4 deletions src/bin/lib/parson/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
CC = gcc
CFLAGS = -O0 -g -Wall -Wextra -std=c89 -pedantic-errors
CFLAGS = -O0 -g -Wall -Wextra -std=c89 -pedantic-errors -DTESTS_MAIN

CPPC = g++
CPPFLAGS = -O0 -g -Wall -Wextra
CPPFLAGS = -O0 -g -Wall -Wextra -DTESTS_MAIN

all: test testcpp
all: test testcpp test_hash_collisions

.PHONY: test testcpp
.PHONY: test testcpp test_hash_collisions
test: tests.c parson.c
$(CC) $(CFLAGS) -o $@ tests.c parson.c
./$@
Expand All @@ -15,6 +15,10 @@ testcpp: tests.c parson.c
$(CPPC) $(CPPFLAGS) -o $@ tests.c parson.c
./$@

test_hash_collisions: tests.c parson.c
$(CC) $(CFLAGS) -DPARSON_FORCE_HASH_COLLISIONS -o $@ tests.c parson.c
./$@

clean:
rm -f test *.o

Loading

0 comments on commit dc53632

Please sign in to comment.