pgsql: pg_dump: Add const decorations

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_dump: Add const decorations
Date: 2021-02-10 12:23:28
Message-ID: E1l9oWm-0008GD-Or@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2021-02-10 17:24:35 pgsql: Remove extra Success message at the end of initdb
Previous Message Peter Eisentraut 2021-02-10 10:44:31 pgsql: Fix lack of message pluralization