pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: jsonapi: Use size_t
Date: Fri, 21 Jun 2024 05:58:12 +0000
Message-ID: <E1sKXHo-002Nsh-1q@gemulon.postgresql.org> (raw)

jsonapi: Use size_t

Use size_t instead of int for object sizes in the jsonapi.  This makes
the API better self-documenting.

Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://www.postgresql.org/message-id/flat/f732b014-f614-4600-a437-dba5a2c3738b%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0b06bf9fa972e2964401622f1bb4c611dbe92bd5

Modified Files
--------------
src/common/jsonapi.c                | 24 ++++++++++++------------
src/common/parse_manifest.c         |  2 +-
src/include/common/jsonapi.h        |  8 ++++----
src/include/common/parse_manifest.h |  2 +-
4 files changed, 18 insertions(+), 18 deletions(-)



Message-ID: <E1sKXHo-002Nsh-1q@gemulon.postgresql.org>
Permalink:  ../E1sKXHo-002Nsh-1q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sKXHo-002Nsh-1q@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: jsonapi: Use size_t
  In-Reply-To: <E1sKXHo-002Nsh-1q@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox