pgsql: Add const to read only TableInfo pointers in pg_dump
Started by Peter Eisentraut6 months ago1 messagescomitters
Add const to read only TableInfo pointers in pg_dump
Functions that dump table data receive their parameters through const
void * but were casting away const. Add const qualifiers to functions
that only read the table information.
Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: /messages/by-id/aUQHy/MmWq7c97wK@ip-10-97-1-34.eu-west-3.compute.internal
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/707f905399b4e47c295fe247f76fbbe53c737984
Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)