pgsql: Get rid of more cases of the "must detoast before output functio - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Get rid of more cases of the "must detoast before output functio
Date
Msg-id E1Vd0xn-0001Zi-1Y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Get rid of more cases of the "must detoast before output function" meme.

I missed that json.c was doing this too, because for some bizarre reason
it wasn't doing it adjacent to the output function call.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e36ce0c7f7b329b25f92cf440fd88fcc695de101

Modified Files
--------------
src/backend/utils/adt/json.c |   60 +++++-------------------------------------
1 file changed, 7 insertions(+), 53 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Prevent memory leaks from accumulating across printtup() calls.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix parsing of xlog file name in pg_receivexlog.