Dagfinn Ilmari Mannsåker
Dagfinn Ilmari Mannsåker
[doc] perlapi: documentation for croak_xs_usage has an undefined "diag_listed_as" tag in the example
This is used by [`t/porting/diag.t`](https://github.com/Perl/perl5/blob/blead/t/porting/diag.t#L470-L474): ```perl # Special syntax for magic comment, allows ignoring the fact # that it isn't listed. Only use in very special circumstances, # like this...
I think it would make sense to always bind native booleans as `0` and `1`. It'd be a few lines' change in [`dbd_bind_ph`](https://github.com/bucardo/dbdpg/blob/master/dbdimp.c#L2629).
Note that using a "real" perl boolean false (e.g. `!!0`) as a postgres boolean has always failed, since it stringifies to an empty string: ``` $ perl -MDBI -le 'print...
#129 implements my above suggestion, and adds tests and documentation.
I just had a thought (and pushed a commit to do it, for discussion): should we respect `pg_bool_tf` and bind native booleans as `t`/`f` instead of `1`/`0` when it's set?
It would be useful to have the 3.2 release uploaded to PyPI as well.