Re[2]: bool_plperl transform

Ivan Panchenko <wao@mail.ru>

From: Ivan Panchenko <wao@mail.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2020-03-01T11:14:41Z
Lists: pgsql-hackers


  
>Воскресенье, 1 февраля 2020, 1:15 +03:00 от Tom Lane <tgl@sss.pgh.pa.us>:
> 
>=?UTF-8?B?SXZhbiBQYW5jaGVua28=?= < wao@mail.ru > writes:
>> While using PL/Perl I have found that it obtains boolean arguments from Postgres as ‘t’ and ‘f’, which is extremely inconvenient because ‘f’ is not false from the perl viewpoint.
>> ...
>> * make a transform which transforms bool, like it is done with jsonb. This does not break compatibility and is rather straightforward.
>Please register this patch in the commitfest app, so we don't lose track
>of it.
>
>https://commitfest.postgresql.org/27/
Done:
https://commitfest.postgresql.org/27/2502/
 
Regards,
Ivan
 
>
>regards, tom lane 
 
 
 
 

Commits

  1. Create contrib/bool_plperl to provide a bool transform for PL/Perl[U].