pgsql: Suppress compiler warning in new jsonb_plperl code.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress compiler warning in new jsonb_plperl code.
Date: 2018-04-03 18:47:48
Message-ID: E1f3QyC-00048o-5N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress compiler warning in new jsonb_plperl code.

Some compilers are evidently pickier than others about whether Perl's
I32 typedef should be considered equivalent to int. Dodge the problem
by using a separate variable; the prior coding was a bit confusing anyway.

Per buildfarm. Note this does nothing to fix the test failures due to
SV_to_JsonbValue not covering enough variable types.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d4a4c3d5b433513fc38ce60e454d2c86e8bd0ed4

Modified Files
--------------
contrib/jsonb_plperl/jsonb_plperl.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2018-04-03 18:48:08 Re: pgsql: Validate page level checksums in base backups
Previous Message Peter Geoghegan 2018-04-03 18:45:03 Re: pgsql: Validate page level checksums in base backups