pgsql: pg_dump: Add const decorations - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: pg_dump: Add const decorations
Date
Msg-id E1l9oWm-0008GD-Or@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix lack of message pluralization
Next
From: Magnus Hagander
Date:
Subject: pgsql: Remove extra Success message at the end of initdb