pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add some const qualifiers
2+ messages / 1 participants
[nested] [flat]

* pgsql: Add some const qualifiers
@ 2023-09-26 10:34  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2023-09-26 10:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add some const qualifiers

There was a mismatch between the const qualifiers for
excludeDirContents in src/backend/backup/basebackup.c and
src/bin/pg_rewind/filemap.c, which led to a quick search for similar
cases.  We should make excludeDirContents match, but the rest of the
changes seem like a good idea as well.

Author: David Steele <david@pgmasters.net>
Discussion: https://www.postgresql.org/message-id/flat/669a035c-d23d-2f38-7ff0-0cb93e01d610@pgmasters.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/64b787656de6c0c6f8f2e6e5b8a3cea25b92458b

Modified Files
--------------
contrib/fuzzystrmatch/fuzzystrmatch.c | 2 +-
contrib/pgcrypto/pgp-armor.c          | 4 ++--
src/backend/catalog/heap.c            | 2 +-
src/backend/utils/adt/ruleutils.c     | 4 ++--
src/backend/utils/misc/guc.c          | 4 ++--
src/bin/initdb/initdb.c               | 4 ++--
src/bin/pg_amcheck/pg_amcheck.c       | 2 +-
src/bin/pg_rewind/filemap.c           | 2 +-
src/bin/pg_rewind/parsexlog.c         | 2 +-
src/bin/pgbench/pgbench.c             | 4 ++--
src/interfaces/libpq/pqexpbuffer.c    | 2 +-
11 files changed, 16 insertions(+), 16 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Add some const qualifiers
@ 2025-10-15 08:10  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2025-10-15 08:10 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add some const qualifiers

in guc-related source files, in anticipation of some further
restructuring.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/8fdfb91e-60fb-44fa-8df6-f5dea47353c9@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/29dc7a668753acee03a3140f541ae6de974244bc

Modified Files
--------------
src/backend/utils/misc/guc.c       | 62 +++++++++++++++++++-------------------
src/backend/utils/misc/guc_funcs.c | 16 +++++-----
src/include/utils/guc_tables.h     | 10 +++---
3 files changed, 44 insertions(+), 44 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-10-15 08:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-09-26 10:34 pgsql: Add some const qualifiers Peter Eisentraut <peter@eisentraut.org>
2025-10-15 08:10 pgsql: Add some const qualifiers Peter Eisentraut <peter@eisentraut.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox