Bytea PL/Perl transform - Mailing list pgsql-hackers

From Иван Панченко
Subject Bytea PL/Perl transform
Date
Msg-id 1679178327.555465221@f141.i.mail.ru
Whole thread Raw
Responses Re: Bytea PL/Perl transform  (Daniel Gustafsson <daniel@yesql.se>)
Re: Bytea PL/Perl transform  (Greg Sabino Mullane <htamfids@gmail.com>)
List pgsql-hackers
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.
 
Regards,
Ivan Panchenko
 
 
 
Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Making background psql nicer to use in tap tests
Next
From: Melanie Plageman
Date:
Subject: Re: Should vacuum process config file reload more often