Skip to content

Commit

Permalink
Release v0.14. (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri authored Nov 20, 2023
1 parent dfa87c2 commit 8d305a5
Show file tree
Hide file tree
Showing 10 changed files with 88 additions and 11 deletions.
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,74 @@
### pgcopydb v0.14 (November 20, 2023) ###

This is a bugfix release with a strong focus on reliability, in particular
in the logical decoding parts of pgcopydb (the --follow implementation).

### Added
* Implement multi-value inserts (#465)
* feat(container): multi arch build (#480)
* Add support for database properties. (#491)
* Add tests coverage for Postgres 16. (#478)
* Set Process Titles as seen in ps/top/htop etc. (#435)
* Implement same-table concurrency using Postgres CTID column. (#410)
* When applying --follow changes, set synchronous_commit to off. (#425)
* Use PREPARE/EXECUTE statements for applying DML in follow mode. (#420)
* Use --table-jobs processes when computing pgcopydb compare data. (#419)
* Implement concurrent workers for Large Objects data copy. (#411)

### Changed
* Improve migration speed by using same connection in a LOB worker. (#533)
* Improve and fix connection timeout and total retry timeout. (#528)
* Have the follow process read the schema from disk when it's been exported. (#523)
* use LOG_WARN for warnings instead of LOG_ERROR (#506)
* Improve Handling of replay_lsn for Idle Source (#519)
* Update the lib/parson vendored-in library to a new version. (#512)
* Review logical decoding client tracking of LSNs. (#502)
* Add check constraint, language entry mapping (#497)
* Ensure transactions are not read only by default (#490)
* Switch to using libpq async API. (#488)
* Improve error handling when COPY fails. (#485)
* Switch our call to PQgetCopyData to async in pg_copy(). (#479)
* Rewrite the ad-hoc parser for Postgres Archive TOC items. (#469)
* Use an intermediate file on-disk for pg_restore --list output. (#467)
* Add a way to debug parsing a list file. (#470)
* Improve connection string TCP keepalive parameters handling. (#457)
* Review the TCP keepalives settings. (#436)
* Do not reset sequences on copy --follow failure. (#424)
* Refactor the cli_compare code. (#418)
* Use Postgres async queries to compute checksums. (#416)
* Improve pgcopydb compare data checksum computation. (#407)

### Fix
* fix inherit data copy (#538)
* Use dynamically allocated QMessage for msgrcv. (#534)
* exclude generated columns from COPY statements (#517)
* Update pgcopydb sentinel in the main follow process. (#521)
* Remove the usage of txn metadata file (#525)
* fix password handling in safeURI (#522)
* Update README.md (One Typo Fixed) (#527)
* Fix lib/subcommands.c sprintf usage. (#520)
* Ensure NULL-termination of string when unescaping single-quotes (#514)
* add archive entry mapping for LARGE OBJECTS and ROW SECURITY (#515)
* Use target dbname when setting db parameters (#509)
* Fix various issues with docs (#494)
* Fix data loss when reading large transaction bodies (#495)
* Fix test runs for outside contributors
* Review static memory size of Postgres identifier names. (#486)
* Fix column name escaping with test_decoding plugin (#482)
* Fixing PING documentation (#476)
* fix drop cascade issue (#475)
* Fix SQL identifier quoting, generalize using format %I. (#464)
* Fix error handling of fork() calls. (#459)
* Fix set_ps_title to avoid calling sformat() on possibly short buffers. (#437)
* Fix escaping double-quotes in SQL identifiers. (#434)
* Fix memory leaks in transform code (#433)
* Assorted fixes from review, including stream_read_context retry loop. (#423)
* Fix a SEGFAULT that was hidden by our waitpid() calls. (#422)
* Fix exit() calls that should have been return false; (#421)
* Fix filtering on schema names. (#415)
* Fix a compile warning on Linux related to printf format strings. (#406)


### pgcopydb v0.13 (July 27, 2023) ###

This is a bugfix release that still manages to include some new features.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ COPY ./src ./src/
COPY ./docs ./docs/

WORKDIR /usr/src
RUN tar czf pgcopydb_0.13.orig.tar.gz pgcopydb
RUN tar czf pgcopydb_0.14.orig.tar.gz pgcopydb

WORKDIR /usr/src/pgcopydb

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.debian-qa
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM debian:sid

ENV TAR v0.13.tar.gz
ENV ORIG pgcopydb_0.13.orig.tar.gz
ENV WORKDIR /usr/src/pgcopydb-0.13
ENV TAR v0.14.tar.gz
ENV ORIG pgcopydb_0.14.orig.tar.gz
ENV WORKDIR /usr/src/pgcopydb-0.14
ENV ARCHIVE https://github.com/dimitri/pgcopydb/archive/refs/tags/
ENV RELEASE ${ARCHIVE}${TAR}

Expand Down
2 changes: 1 addition & 1 deletion GIT-VERSION-GEN
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

GVF=GIT-VERSION-FILE
DEF_VER=0.13
DEF_VER=0.14

LF='
'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Several distributions are available for pgcopydb:
version currently in debian stable.

```
$ docker run --rm -it dimitri/pgcopydb:v0.13 pgcopydb --version
$ docker run --rm -it dimitri/pgcopydb:v0.14 pgcopydb --version
```

Or you can use the CI/CD integration that publishes packages from the
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
pgcopydb (0.14-1) unstable; urgency=medium

* Official 0.14 release of pgcopydb

-- Dimitri Fontaine <[email protected]> Mon, 20 Nov 2023 15:15:43 +0100

pgcopydb (0.13-1) unstable; urgency=medium

* Official 0.13 release of pgcopydb
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
author = 'Dimitri Fontaine'

# The full version, including alpha/beta/rc tags
version = '0.13'
release = '0.13'
version = '0.14'
release = '0.14'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ stable.

To use this docker image::

$ docker run --rm -it dimitri/pgcopydb:v0.13 pgcopydb --version
$ docker run --rm -it dimitri/pgcopydb:v0.14 pgcopydb --version

__ https://hub.docker.com/r/dimitri/pgcopydb#!

Expand Down
2 changes: 1 addition & 1 deletion src/bin/pgcopydb/cli_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ cli_print_version(int argc, char **argv)
{
fformat(stdout, "pgcopydb version %s\n", VERSION_STRING);
fformat(stdout, "compiled with %s\n", PG_VERSION_STR);
fformat(stdout, "compatible with Postgres 10, 11, 12, 13, 14, and 15\n");
fformat(stdout, "compatible with Postgres 11, 12, 13, 14, 15, and 16\n");
}

exit(0);
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pgcopydb/defaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "git-version.h"

/* additional version information for printing version on CLI */
#define PGCOPYDB_VERSION "0.13"
#define PGCOPYDB_VERSION "0.14"

#ifdef GIT_VERSION
#define VERSION_STRING GIT_VERSION
Expand Down

0 comments on commit 8d305a5

Please sign in to comment.