pg_dump: Add const decorations

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-02-03T12:10:51Z
Lists: pgsql-hackers

Attachments

Something that came out of work on pg_dump recently.  I added 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.

Commits

  1. pg_dump: Add const decorations