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: pg_dump: Add const decorations
Date: Wed, 10 Feb 2021 12:23:28 +0000
Message-ID: <E1l9oWm-0008GD-Or@gemulon.postgresql.org> (raw)

pg_dump: Add const decorations

Add const decorations to the *info arguments of the dump* functions,
to clarify that they don't modify that argument.  Many other nearby
functions modify their arguments, so this can help clarify these
different APIs a bit.

Discussion: https://www.postgresql.org/message-id/flat/012d3030-9a2c-99a1-ed2d-988978b5632f%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/64990081504661ff5c04dbf20cc4252be66ab149

Modified Files
--------------
src/bin/pg_dump/pg_backup.h          |   2 +-
src/bin/pg_dump/pg_backup_archiver.h |   4 +-
src/bin/pg_dump/pg_dump.c            | 344 +++++++++++++++++------------------
src/bin/pg_dump/pg_dump.h            |   2 +-
4 files changed, 176 insertions(+), 176 deletions(-)



Message-ID: <E1l9oWm-0008GD-Or@gemulon.postgresql.org>
Permalink:  ../E1l9oWm-0008GD-Or@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1l9oWm-0008GD-Or@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: pg_dump: Add const decorations
  In-Reply-To: <E1l9oWm-0008GD-Or@gemulon.postgresql.org>
  References: <E1l9oWm-0008GD-Or@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