]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add const to read only TableInfo pointers in pg_dump
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 12 Jan 2026 13:26:26 +0000 (14:26 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 12 Jan 2026 13:26:26 +0000 (14:26 +0100)
commit707f905399b4e47c295fe247f76fbbe53c737984
treee281863028cc93c6825a89fd0212f02986d4db7b
parente39ece0343fef7bf5a689d75bbafff9386e6e3da
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
src/bin/pg_dump/pg_dump.c