pgsql: In jsonb_plpython.c, suppress warning message from gcc 10.

2020-01-30 Thread Tom Lane
In jsonb_plpython.c, suppress warning message from gcc 10. Very recent gcc complains that PLyObject_ToJsonbValue could return a pointer to a local variable. I think it's wrong; but the coding is fragile enough, and the savings of one palloc() minimal enough, that it seems better to just do a pall

pgsql: In jsonb_plpython.c, suppress warning message from gcc 10.

2020-01-30 Thread Tom Lane
In jsonb_plpython.c, suppress warning message from gcc 10. Very recent gcc complains that PLyObject_ToJsonbValue could return a pointer to a local variable. I think it's wrong; but the coding is fragile enough, and the savings of one palloc() minimal enough, that it seems better to just do a pall

pgsql: In jsonb_plpython.c, suppress warning message from gcc 10.

2020-01-30 Thread Tom Lane
In jsonb_plpython.c, suppress warning message from gcc 10. Very recent gcc complains that PLyObject_ToJsonbValue could return a pointer to a local variable. I think it's wrong; but the coding is fragile enough, and the savings of one palloc() minimal enough, that it seems better to just do a pall