Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8 - Mailing list pgsql-bugs

From Greg Sabino Mullane
Subject Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8
Date
Msg-id a262d7d2e4d2cfec5b264239d0a1f8bd@biglumber.com
Whole thread Raw
In response to Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8
List pgsql-bugs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Tom Lane wrote:
> #if PERL_BCDVERSION >= 0x5006000L
...
> #endif
...
> I'm tempted to consolidate this into a function on the order of
> newSVstring(const char *) or some such.  Comments?

+1

I suggested at one point raising the minimum requirement for Perl to
5.6 (which came out way back in 2000, so we're unlikely to upset anyone).
If we haven't done that already, this would be a good chance as we
can get rid of that ugly #if block.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200610151328
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFFMnA9vJuQZxSWSsgRAoS8AKDxCVgCLggaDH+d1BbcEROZORqhEwCg6qe+
wrVsJMi+EKGvnmVGK4MroaM=
=Oi3J
-----END PGP SIGNATURE-----

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8
Next
From: Tom Lane
Date:
Subject: Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8