pgsql: Add const to read only TableInfo pointers in pg_dump - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Add const to read only TableInfo pointers in pg_dump
Date
Msg-id E1vfI0w-00022D-2f@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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: https://postgr.es/m/aUQHy/MmWq7c97wK%40ip-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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Make dmetaphone collation-aware
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Avoid casting void * function arguments