pg_dump: Add const decorations

Peter Eisentraut <peter@eisentraut.org>

Commit: 64990081504661ff5c04dbf20cc4252be66ab149
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2021-02-10T12:21:47Z
Releases: 14.0
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

Files

PathChange+/−
src/bin/pg_dump/pg_backup_archiver.h modified +2 −2
src/bin/pg_dump/pg_backup.h modified +1 −1
src/bin/pg_dump/pg_dump.c modified +172 −172
src/bin/pg_dump/pg_dump.h modified +1 −1

Discussion