Re: bool_plperl transform

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ivan Panchenko <wao@mail.ru>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2020-02-29T22:15:48Z
Lists: pgsql-hackers
=?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/

			regards, tom lane



Commits

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