From 6bc7449eac31ca573572000a10660d5995a4f96a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 24 Mar 2026 14:28:56 +0100 Subject: [PATCH] Fix accidentally casting away const Recently introduced in commit 4b5ba0c4ca5. --- src/bin/pg_dump/pg_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 955d2294ec0..5d1f7682f11 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -11187,7 +11187,7 @@ fetchAttributeStats(Archive *fout) if (fout->remoteVersion >= 190000) { - RelStatsInfo *rsinfo = (RelStatsInfo *) te->defnDumperArg; + const RelStatsInfo *rsinfo = (const RelStatsInfo *) te->defnDumperArg; char relid[32]; sprintf(relid, "%u", rsinfo->relid);