branch: elpa/pg
commit 991bd9429d30b05a351fe2d46e628569ce6b661c
Author: Eric Marsden <eric.mars...@risk-engineering.org>
Commit: Eric Marsden <eric.mars...@risk-engineering.org>

    Prepare for v0.58 release
---
 CHANGELOG.md  | 8 +++++++-
 pg.el         | 2 +-
 test/Makefile | 2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8e7b593f8a8..30419aa204d 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,7 @@
 # Changelog
 
 
-## [0.58] - Unreleased
+## [0.58] - 2025-08-13
 
 - Add serialization support for the `numeric` data type, for arguments to 
prepared statements.
 
@@ -9,6 +9,12 @@
   `text[]` (known as `_text` in the `pg_type` system table), `int4[]`, 
`float4[]`, `float8[]` can now
   be passed as function arguments.
 
+- Fix parsing of the `bpchar` type, which PostgreSQL uses on the wire to 
represent `CHARACTER(N)`
+  objects. These objects would previously be truncated to their first 
character, but are now parsed
+  as a full length string if the length is greater than 1 character, and still 
as an Emacs Lisp
+  character when the length is equal to 1. The returned string includes 
trailing padding spaces if
+  the value inserted is less long than the field width. Bug reported by @Tekki.
+
 - Add serialization support for the `_varchar` data type.
 
 - Add parsing and serialization support for the `_uuid` data type.
diff --git a/pg.el b/pg.el
index 514804d86f8..9a60f61c9bf 100644
--- a/pg.el
+++ b/pg.el
@@ -3,7 +3,7 @@
 ;; Copyright: (C) 1999-2002, 2022-2025  Eric Marsden
 
 ;; Author: Eric Marsden <eric.mars...@risk-engineering.org>
-;; Version: 0.57
+;; Version: 0.58
 ;; Keywords: data comm database postgresql
 ;; URL: https://github.com/emarsden/pg-el
 ;; Package-Requires: ((emacs "28.1") (peg "1.0.1"))
diff --git a/test/Makefile b/test/Makefile
index 24f72544b07..a8228dd8b0f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -781,7 +781,7 @@ test-questdb: test-pg.el
           --publish 127.0.0.1:9000:9000 \
           -e QDB_PG_USER=pgeltestuser \
           -e QDB_PG_PASSWORD=pgeltest \
-         -d docker.io/questdb/questdb
+         -d docker.io/questdb/questdb:latest
        sleep 5
        PGURI=postgresql://pgeltestuser:pgeltest@127.0.0.1:8812/postgres 
$(MAKE) test
        ${DOCKER} stop questdb

Reply via email to