From a48f4c4cce46b706bcb0b756b67035f9b8e119ab Mon Sep 17 00:00:00 2001 From: Asif Rehman Date: Wed, 7 Oct 2026 21:12:06 +0500 Subject: [PATCH] Prepare v1.2.3 Bump default_version to 1.2.3 and add the (empty) 1.2.2--1.2.3 upgrade script, since there are no SQL-level changes in this release. Add release notes, an RPM changelog entry, and point the packaging defaults in pkg/common.sh at 1.2.3. Co-Authored-By: Claude Sonnet 5.5 --- Makefile | 3 ++- docs/lolor_release_notes.md | 6 ++++++ expected/lolor.out | 1 + lolor--1.2.2--1.2.3.sql | 6 ++++++ lolor.control | 2 +- pkg/common.sh | 6 +++--- pkg/rpm/lolor.spec | 2 ++ sql/lolor.sql | 1 + 8 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 lolor--1.2.2--1.2.3.sql diff --git a/Makefile b/Makefile index caf9241..ef279d8 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,8 @@ MODULE_big = lolor EXTENSION = lolor DATA = lolor--1.0.sql \ - lolor--1.0--1.2.1.sql lolor--1.2.1--1.2.2.sql + lolor--1.0--1.2.1.sql lolor--1.2.1--1.2.2.sql \ + lolor--1.2.2--1.2.3.sql PGFILEDESC = "lolor - drop in large objects replacement for logical replication" OBJS = src/lolor.o src/lolor_fsstubs.o src/lolor_inv_api.o src/lolor_largeobject.o diff --git a/docs/lolor_release_notes.md b/docs/lolor_release_notes.md index 19d7793..fb6fab0 100644 --- a/docs/lolor_release_notes.md +++ b/docs/lolor_release_notes.md @@ -1,5 +1,11 @@ # lolor Release Notes +## lolor 1.2.3 + +* Add support for PostgreSQL 19 +* Add in-repo release workflow and RPM/DEB packaging +* Improve CI: build the test cluster from source, add PostgreSQL 19 to the test matrix, and bound test run time + ## lolor 1.2.2 * Fix lolor upgrades diff --git a/expected/lolor.out b/expected/lolor.out index 1409abe..35c7610 100644 --- a/expected/lolor.out +++ b/expected/lolor.out @@ -82,6 +82,7 @@ SELECT lowrite(:fd, 'Example large object'); END; ALTER EXTENSION lolor UPDATE TO '1.2.2'; +ALTER EXTENSION lolor UPDATE TO '1.2.3'; BEGIN; SELECT lo_open(:loid, 262144) AS fd \gset SELECT convert_from(loread(:fd, 1024), 'UTF8'); diff --git a/lolor--1.2.2--1.2.3.sql b/lolor--1.2.2--1.2.3.sql new file mode 100644 index 0000000..7d65822 --- /dev/null +++ b/lolor--1.2.2--1.2.3.sql @@ -0,0 +1,6 @@ +/* lolor--1.2.2--1.2.3.sql */ + +-- complain if script is sourced in psql, rather than via CREATE EXTENSION +\echo Use "CREATE EXTENSION lolor" to load this file. \quit + +-- No SQL-level changes in 1.2.3; the version is bumped for the release. diff --git a/lolor.control b/lolor.control index e8a0385..093079c 100644 --- a/lolor.control +++ b/lolor.control @@ -1,6 +1,6 @@ # lolor extension comment = 'Large Objects support for logical replication' -default_version = '1.2.2' +default_version = '1.2.3' module_pathname = '$libdir/lolor' relocatable = false trusted = true diff --git a/pkg/common.sh b/pkg/common.sh index 24ad509..86baa45 100644 --- a/pkg/common.sh +++ b/pkg/common.sh @@ -9,11 +9,11 @@ export PG_VERSION="${PG_VERSION:-17}" export PG_MAJOR_VERSION="$(echo "$PG_VERSION" | cut -d. -f1)" export PG_LOLOR_REPO="https://github.com/pgEdge/lolor.git" -export LOLOR_BRANCH="${COMPONENT_BRANCH:-v1.3.0}" +export LOLOR_BRANCH="${COMPONENT_BRANCH:-v1.2.3}" -# Upstream version, suffix-stripped (e.g. 1.3.0). Names the source tarball's +# Upstream version, suffix-stripped (e.g. 1.2.3). Names the source tarball's # internal directory and the RPM Version. -export LOLOR_VERSION="${COMPONENT_VERSION:-1.3.0}" +export LOLOR_VERSION="${COMPONENT_VERSION:-1.2.3}" export LOLOR_BUILDNUM=${COMPONENT_BUILDNUM:-1} export REPO_TYPE="${REPO_TYPE:-daily}" diff --git a/pkg/rpm/lolor.spec b/pkg/rpm/lolor.spec index f342051..3e43df6 100644 --- a/pkg/rpm/lolor.spec +++ b/pkg/rpm/lolor.spec @@ -71,6 +71,8 @@ install -p -m 0644 %{_builddir}/%{pname}-%{version}/%{pname}-sbom.json.asc %{bui %endif %changelog +* Wed Oct 07 2026 Asif Rehman - 1.2.3 +- Update lolor package to 1.2.3 * Thu Dec 18 2025 Muhammad Aqeel - 1.2.2 - Update lolor package to 1.2.2 * Thu Sep 25 2025 Muhammad Aqeel - 1.2.1 diff --git a/sql/lolor.sql b/sql/lolor.sql index 78546ee..2582bf6 100644 --- a/sql/lolor.sql +++ b/sql/lolor.sql @@ -44,6 +44,7 @@ SELECT lo_open(:loid, x'60000'::int) AS fd \gset SELECT lowrite(:fd, 'Example large object'); END; ALTER EXTENSION lolor UPDATE TO '1.2.2'; +ALTER EXTENSION lolor UPDATE TO '1.2.3'; BEGIN; SELECT lo_open(:loid, 262144) AS fd \gset SELECT convert_from(loread(:fd, 1024), 'UTF8');