diff options
author | Alvaro Herrera | 2022-04-13 16:19:38 +0000 |
---|---|---|
committer | Alvaro Herrera | 2022-04-13 16:19:38 +0000 |
commit | ed0fbc8e5ac995eada933250c1d5535336442b97 (patch) | |
tree | e7948cabf8794710c4676ea49c6f51d6918989a3 /src/backend/utils/adt/jsonfuncs.c | |
parent | 112fdb3528465cc14a2f1dff3dc27f100326d885 (diff) |
Release cache tuple when no longer needed
There was a small buglet in commit 52e4f0cd472d whereby a tuple acquired
from cache was not released, giving rise to WARNING messages; fix that.
While at it, restructure the code a bit on stylistic grounds.
Author: Hou zj <[email protected]>
Reported-by: Peter Smith <[email protected]>
Reviewed-by: Amit Kapila <[email protected]>
Discussion: https://postgr.es/m/CAHut+PvKTyhTBtYCQsP6Ph7=o-oWRSX+v+PXXLXp81-o2bazig@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions