Add const qualifiers

From: David Steele <david(at)pgmasters(dot)net>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Add const qualifiers
Date: 2023-09-01 15:39:24
Message-ID: 669a035c-d23d-2f38-7ff0-0cb93e01d610@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

I noticed that there was a mismatch between the const qualifiers for
excludeDirContents in src/backend/backup/backup/basebackup.c and
src/bin/pg_rewind/file_map.c and that led me to use ^static const.*\*.*=
to do a quick search for similar cases.

I think at the least we should make excludeDirContents match, but the
rest of the changes seem like a good idea as well.

Regards,
-David

Attachment Content-Type Size
v01-0001-add-const-decorations.patch text/plain 7.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2023-09-01 16:10:11 Re: PATCH: Add REINDEX tag to event triggers
Previous Message Robert Haas 2023-09-01 14:57:36 Re: Initdb-time block size specification