On Fri, Sep 25, 2015 at 04:51:20PM -0300, Alvaro Herrera wrote:
> Tom Lane wrote:
>
> > It's still beyond my Perl-fu ...
>
> Maybe Alex or Tim can shed some light? Please see:
> http://www.postgresql.org/message-id/flat/20150925112345.26913.28407@wrigleys.postgresql.org
I think you want to call croak_sv(SV) with an SV containing the error
message and flagged as UTF-8.
Yim.