| From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
|---|---|
| To: | Anthony Bykov <a(dot)bykov(at)postgrespro(dot)ru> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Transform for pl/perl |
| Date: | 2018-01-28 21:57:11 |
| Message-ID: | CAEepm=3fSqP_ChKQmpYwgxqy9nyx5KtHnE1swi9OqCq7hY6EsQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Jan 12, 2018 at 9:47 PM, Anthony Bykov <a(dot)bykov(at)postgrespro(dot)ru> wrote:
> On Fri, 12 Jan 2018 15:19:26 +1300
> Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> Hello, thank you for your message.
> The problem was that different perl compilers uses different infinity
> representations. Some of them use "Inf" others - use "inf". So, in
> attachments there is a new version of the patch.
BTW PostgreSQL is written in C89 (though it uses some C99 library features if
present, just not language features), so you can't do this:
jsonb_plperl.c: In function ‘SV_ToJsonbValue’:
jsonb_plperl.c:238:6: error: ‘for’ loop initial declarations are only
allowed in C99 mode
for (int i=0;str[i];i++)
^
--
Thomas Munro
http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ivan Novick | 2018-01-28 22:01:07 | Re: Built-in connection pooling |
| Previous Message | Thomas Munro | 2018-01-28 21:35:12 | Failed test 'psql query died successfully after SIGQUIT' |