mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
a4484a6489
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 palloc() all the time. (My other idea of tweaking the if-condition doesn't suppress the warning.) Back-patch to v11 where this code was introduced. Discussion: https://postgr.es/m/21547.1580170366@sss.pgh.pa.us |
||
---|---|---|
.. | ||
expected | ||
sql | ||
.gitignore | ||
jsonb_plpython2u--1.0.sql | ||
jsonb_plpython2u.control | ||
jsonb_plpython3u--1.0.sql | ||
jsonb_plpython3u.control | ||
jsonb_plpython.c | ||
jsonb_plpythonu--1.0.sql | ||
jsonb_plpythonu.control | ||
Makefile |