Host variables corresponding bytea type in ecpg
Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.
You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:
docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t36483psql -h localhost -U postgresBuilt from patchset v1 (message #1), July 28, 2026 at 07:14 AM.
Every patchset is also pushed to a branch of our PostgreSQL fork, so you can check out the same tree CI built. Without a PostgreSQL checkout:
git clone --branch t36483_1 https://github.com/hackorum-dev/postgres.gitIn a checkout you already have, add the fork once:
git remote add hackorum https://github.com/hackorum-dev/postgres.gitthen, for this patchset and every later one:
git fetch hackorum t36483_1 && git checkout t36483_1Patchset v1 (message #1) is on t36483_1
Hi,
I tried to use the bytea type with ecpg, but the corresponding host variable was not described in the manual.
https://www.postgresql.org/docs/devel/static/ecpg-variables.html#ecpg-variables-type-mapping
According to the test code, the bytea type seems to correspond to char *.
src/interfaces/ecpg/test/sql/binary.pgc
I think that it is better to describe that the host variable corresponding to the bytea type is char * in the manual, but what about it?
I attach modified patch.
regards, Sho Kato.
--
Kato Sho
I attach modified patch.
Thank you, committed.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Michael Meskes <meskes@postgresql.org> writes:
I attach modified patch.
Thank you, committed.
I don't see a git push for this?
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
I attach modified patch.
Thank you, committed.
I don't see a git push for this?
Oops, should be there now.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers