Re: Bytea PL/Perl transform

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Иван Панченко <wao(at)mail(dot)ru>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Bytea PL/Perl transform
Date: 2023-03-22 09:44:55
Message-ID: A934421A-2BF1-4B3D-8D53-C9CB25BEDA8F@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 18 Mar 2023, at 23:25, Иван Панченко <wao(at)mail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2023-03-22 09:45:59 Re: gcc 13 warnings
Previous Message Peter Eisentraut 2023-03-22 09:42:00 Re: Save a few bytes in pg_attribute