Re: Bytea PL/Perl transform - Mailing list pgsql-hackers

From Иван Панченко
Subject Re: Bytea PL/Perl transform
Date
Msg-id 1679501844.967186803@f167.i.mail.ru
Whole thread Raw
In response to Re: Bytea PL/Perl transform  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
 
 
Среда, 22 марта 2023, 12:45 +03:00 от Daniel Gustafsson <daniel@yesql.se>:
 
> On 18 Mar 2023, at 23:25, Иван Панченко <wao@mail.ru> wrote:
>
> Hi,
> 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.

Thanks for the patch, I recommend registering this in the currently open
Commitfest to make sure it's kept track of:

https://commitfest.postgresql.org/43/

--
Daniel Gustafsson
 
--
Ivan
 

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Non-superuser subscription owners
Next
From: Melanie Plageman
Date:
Subject: Re: Add pg_walinspect function with block info columns