Bytea PL/Perl transform

From: Иван Панченко <wao(at)mail(dot)ru>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Bytea PL/Perl transform
Date: 2023-03-18 22:25:27
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

PostgreSQL passes bytea arguments to PL/Perl functions as hexadecimal strings, which is not only inconvenient, but also memory and time consuming.
So I decided to propose a simple transform extension to pass bytea as native Perl octet strings.
Please find the patch attached.
Ivan Panchenko

Attachment Content-Type Size
bytea_plperl.patch text/x-diff 11.6 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2023-03-18 22:47:07 Re: Should vacuum process config file reload more often
Previous Message Andrew Dunstan 2023-03-18 22:07:46 Re: Making background psql nicer to use in tap tests