From 04b89fadb424588775218a49e290e7348745e056 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Wed, 7 Aug 2024 15:19:42 +0200 Subject: [PATCH] Release v0.17 --- CHANGELOG.md | 56 +++++++++++++++++++++++++++++++++++++ Dockerfile.debian | 2 +- Dockerfile.debian-qa | 6 ++-- GIT-VERSION-GEN | 2 +- debian/changelog | 6 ++++ docs/conf.py | 4 +-- docs/install.rst | 2 +- src/bin/pgcopydb/defaults.h | 2 +- 8 files changed, 71 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4283de2a8..765300168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,59 @@ +### pgcopydb v0.17 (August 7, 2024) ### + +pgcopydb v0.17 is mostly a bugfix release. New features include +compatibility and performance options such as disabling the COPY partition +by CTID scans, which older Postgres versions are not good at, or using COPY +WITH FORMAT (binary) when the source and target have been checked to be +binary compatible (manual operation, use pgcopydb --with-copy-binary +option). + +It is now possible to use a read-only standby as the source for pgcopydb, as +long as filtering options and --follow option are not used. It should be +possible to later add full support for CDC from a Postgres standby in +Postgres 16 or more recent, the work has not been done yet. + +### Added +* Refactor pgcopydb for standby server support (#655) +* Support CDC on tables with generated columns (#664) +* Implement support for filtering materialized view and data (refresh) (#737) +* Introduce new option --with-copy-binary. (#857) +* Update COPY statistics during the copy operation. (#858) +* Add support for limiting same table concurrency (#803) +* Skip disable by ctid (#785) +* Introduce new options for estimating table sizes (#793) +* Introduce --skip-analyze (#825) + +### Changed +* Store timelines in internal catalogs (#848) +* Review pgcopydb stream sentinel CLI. (#846) +* Use a single dump file to give more dependency information to pg_restore. (#804) +* Log libpq notice messages with proper log levels. (#802) +* Get the block size from Postgres source database. (#795) +* Improve formatting for pretty printed integers (#792) +* Improve foreign key dependency tracking SQL query for extension tables (#790) +* Allow exclude-index filtering with other filters (#789) + +### Fix +* Bugfix: support filtering out only some of the partitions (#863) +* Fix test_decoding schema parsing with quoted identifier (#852) +* Remove redundant NULL pointer checks (#853) +* Minor updates to docs (#837) +* Extension config tables are not copied in dependency order (#841) +* Adding filtering flag to pgcopydb dump schema (#836) +* Fixes probable bug sources (#840) +* Fix issues with stylechecker tests (#838) +* Fix double sqlite source.db attach in restore parse-list (#835) +* Fix out-of-memory issue in creating our pg_restore list file. (#831) +* Fix/build and test (#830) +* Review when to create a vacuum job queue (#827) +* Refactor environment variable parsing logic (#807) +* Problem: Pipeline sync deadlock (#823) +* Standalone sequences do not get reset when schema is filtered (#816) +* Fix initialisation of the start time, fixing timing reports on subsequent runs (#814) +* Problem: Vacuum worker exits early (just after table copy) (#815) +* Fix Array out of bounds access during transform (#809) +* Fix issues in the docs. (#801) + ### pgcopydb v0.16 (May 22, 2024) ### pgcopydb v0.16 is mostly a bugfix release. The main changes internally are diff --git a/Dockerfile.debian b/Dockerfile.debian index a4a9bbe49..77e7ac8bd 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -38,7 +38,7 @@ COPY ./src ./src/ COPY ./docs ./docs/ WORKDIR /usr/src -RUN tar czf pgcopydb_0.16.orig.tar.gz pgcopydb +RUN tar czf pgcopydb_0.17.orig.tar.gz pgcopydb WORKDIR /usr/src/pgcopydb diff --git a/Dockerfile.debian-qa b/Dockerfile.debian-qa index e8d724a40..d1aae6774 100644 --- a/Dockerfile.debian-qa +++ b/Dockerfile.debian-qa @@ -1,8 +1,8 @@ FROM debian:sid -ENV TAR v0.16.tar.gz -ENV ORIG pgcopydb_0.16.orig.tar.gz -ENV WORKDIR /usr/src/pgcopydb-0.16 +ENV TAR v0.17.tar.gz +ENV ORIG pgcopydb_0.17.orig.tar.gz +ENV WORKDIR /usr/src/pgcopydb-0.17 ENV ARCHIVE https://github.com/dimitri/pgcopydb/archive/refs/tags/ ENV RELEASE ${ARCHIVE}${TAR} diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index e3ae97594..ee22dac58 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=0.16 +DEF_VER=0.17 LF=' ' diff --git a/debian/changelog b/debian/changelog index ac623b932..2ce3bdefc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pgcopydb (0.17-1) unstable; urgency=medium + + * Official 0.17 release of pgcopydb + + -- Dimitri Fontaine Wed, 07 Aug 2024 15:17:18 +0200 + pgcopydb (0.16-1) unstable; urgency=medium * Official 0.16 release of pgcopydb diff --git a/docs/conf.py b/docs/conf.py index 653266076..8dcc67a8c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,8 +22,8 @@ author = 'Dimitri Fontaine' # The full version, including alpha/beta/rc tags -version = '0.17~dev' -release = '0.17~dev' +version = '0.17' +release = '0.17' # -- General configuration --------------------------------------------------- diff --git a/docs/install.rst b/docs/install.rst index a4f021138..22137a283 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -53,7 +53,7 @@ stable. To use this docker image:: - $ docker run --rm -it dimitri/pgcopydb:v0.16 pgcopydb --version + $ docker run --rm -it dimitri/pgcopydb:v0.17 pgcopydb --version __ https://hub.docker.com/r/dimitri/pgcopydb#! diff --git a/src/bin/pgcopydb/defaults.h b/src/bin/pgcopydb/defaults.h index 5fea2e4ba..c98747f90 100644 --- a/src/bin/pgcopydb/defaults.h +++ b/src/bin/pgcopydb/defaults.h @@ -31,7 +31,7 @@ #include "git-version.h" /* additional version information for printing version on CLI */ -#define PGCOPYDB_VERSION "0.16" +#define PGCOPYDB_VERSION "0.17" #ifdef GIT_VERSION #define VERSION_STRING GIT_VERSION