pgsql: Fix incorrect print format in json.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix incorrect print format in json.c
Date: 2020-07-29 05:54:26
Message-ID: E1k0f2o-0007iB-6X@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix incorrect print format in json.c

Oid is unsigned, so %u needs to be used and not %d. The code path
involved here is not normally reachable, so no backpatch is done.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20200728015523.GA27308@telsasoft.com

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/json.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2020-07-29 06:17:13 pgsql: HashAgg: use better cardinality estimate for recursive spilling.
Previous Message Thomas Munro 2020-07-29 05:01:28 pgsql: Move syncscan.c to src/backend/access/common.