pg_dump: Add const decorations
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 10 Feb 2021 12:08:13 +0000 (13:08 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 10 Feb 2021 12:21:47 +0000 (13:21 +0100)
commit64990081504661ff5c04dbf20cc4252be66ab149
treee30747953b2e066b91c8ce5c268f08da06c4c276
parent4ad5611055c8381d6a9b54fc11838418a1f14bc9
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
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h