From 148d6f97c3cc370d0584ff4734ef09c054e67322 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Thu, 27 Jul 2023 16:42:27 +0200 Subject: [PATCH] Release v0.13. (#405) --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++ Dockerfile.debian | 2 +- Dockerfile.debian-qa | 6 +++--- GIT-VERSION-GEN | 2 +- README.md | 5 +++++ debian/changelog | 6 ++++++ docs/conf.py | 4 ++-- docs/install.rst | 2 +- src/bin/pgcopydb/defaults.h | 2 +- 9 files changed, 59 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 133a2a9d8..a8a363ffd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,42 @@ +### pgcopydb v0.13 (July 27, 2023) ### + +This is a bugfix release that still manages to include some new features. + +### Added +* pgcopydb compare schema|data (#404) +* Implement the new filter "include-only-schema". (#403) +* Implement extension requirements support. (#400) +* Add facilities to list extension versions. (#378) +* Implement --skip-extension-comments. (#356) + +### Changed +* Add Postgres backend PID to more statements. (#396) +* Add Postgres backend PID to our SQL (error) logs. (#393) +* Only update sentinel.startpos up to flush_lsn. (#372) +* Review double-precision format string from %g to %f. (#368) + +### Fix +* Fix schema_prepare_pgcopydb_table_size to use dynamic memory. (#402) +* Fix log message typos (missing quotes in \"%s\"). (#401) +* Fix support for DEFERRABLE and INITIALLY DEFERRED constraints. (#398) +* Fix sequences dependencies tracking. (#397) +* Fix issue with resuming streaming of interleaved transactions. (#394) +* Attempt to fix a segfault. (#391) +* Fix a typo in the filtering docs: include-only-table. (#389) +* Fix a couple bugs in pgcopydb clone --follow. (#386) +* Fix our COPY statements for tables with zero column. (#385) +* Assorted fixes for the test_decoding parser. (#380) +* The cli_stream module didn't get the pg_strdup() memo for DSNs. (#379) +* The cli_stream module didn't get the pg_strdup() memo for DSNs. (#371) +* Implement multi-parts read from Unix PIPE. (#370) +* Fix NULL connection string in: pgcopydb list schema. (#369) +* Refactor how ld_stream writes to PIPE stdout. (#367) +* Fix skipping streaming messages when resuming from latest JSON file. (#359) +* Fix stream_apply_wait_for_sentinel() return value when interrupted. (#358) +* Fix stream_transform_resume() cache invalidation of the SQL file. (#357) +* Fix stream_transform_resume to share context with stream_transform_file. (#355) +* Fix our PG_VERSION_STRING_MAX_LENGTH to host more. (#353) + ### pgcopydb v0.12 (June 28, 2023) ### This is a bugfix release with a strong focus on our logical decoding client. diff --git a/Dockerfile.debian b/Dockerfile.debian index 2f6f057b9..78492e6c8 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -37,7 +37,7 @@ COPY ./src ./src/ COPY ./docs ./docs/ WORKDIR /usr/src -RUN tar czf pgcopydb_0.12.orig.tar.gz pgcopydb +RUN tar czf pgcopydb_0.13.orig.tar.gz pgcopydb WORKDIR /usr/src/pgcopydb diff --git a/Dockerfile.debian-qa b/Dockerfile.debian-qa index eb21eb57f..d2a110702 100644 --- a/Dockerfile.debian-qa +++ b/Dockerfile.debian-qa @@ -1,8 +1,8 @@ FROM debian:sid -ENV TAR v0.12.tar.gz -ENV ORIG pgcopydb_0.12.orig.tar.gz -ENV WORKDIR /usr/src/pgcopydb-0.12 +ENV TAR v0.13.tar.gz +ENV ORIG pgcopydb_0.13.orig.tar.gz +ENV WORKDIR /usr/src/pgcopydb-0.13 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 5550539c3..86ce4f325 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=0.12 +DEF_VER=0.13 LF=' ' diff --git a/README.md b/README.md index 884b0ace0..7d40b8254 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ $ pgcopydb help follow Replay changes from the source database to the target database copy-db Clone an entire database from source to target snapshot Create and exports a snapshot on the source database + + compare Compare source and target databases + copy Implement the data section of the database copy + dump Dump database objects from a Postgres instance + restore Restore database objects into a Postgres instance @@ -60,6 +61,10 @@ $ pgcopydb help help print help message version print pgcopydb version + pgcopydb compare + schema Compare source and target schema + data Compare source and target data + pgcopydb copy db Copy an entire database from source to target roles Copy the roles from the source instance to the target instance diff --git a/debian/changelog b/debian/changelog index cd4c12c84..ef60b6832 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pgcopydb (0.13-1) unstable; urgency=medium + + * Official 0.13 release of pgcopydb + + -- Dimitri Fontaine Thu, 27 Jul 2023 16:34:14 +0200 + pgcopydb (0.12-1) unstable; urgency=medium * Official 0.12 release of pgcopydb diff --git a/docs/conf.py b/docs/conf.py index b209a3ed4..6e1066991 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.12' -release = '0.12' +version = '0.13' +release = '0.13' # -- General configuration --------------------------------------------------- diff --git a/docs/install.rst b/docs/install.rst index fe0aae60c..e121ce7e3 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -52,7 +52,7 @@ stable. To use this docker image:: - $ docker run --rm -it dimitri/pgcopydb:v0.12 pgcopydb --version + $ docker run --rm -it dimitri/pgcopydb:v0.13 pgcopydb --version __ https://hub.docker.com/r/dimitri/pgcopydb#! diff --git a/src/bin/pgcopydb/defaults.h b/src/bin/pgcopydb/defaults.h index 6986669ce..3d7a3b1d8 100644 --- a/src/bin/pgcopydb/defaults.h +++ b/src/bin/pgcopydb/defaults.h @@ -9,7 +9,7 @@ #include "git-version.h" /* additional version information for printing version on CLI */ -#define PGCOPYDB_VERSION "0.12" +#define PGCOPYDB_VERSION "0.13" #ifdef GIT_VERSION #define VERSION_STRING GIT_VERSION