pg_dump: Add const decorations

Lists: pgsql-hackers
From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_dump: Add const decorations
Date: 2021-02-03 12:10:51
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-hackers

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.

Attachment Content-Type Size
0001-pg_dump-Add-const-decorations.patch text/plain 42.0 KB