pgsql: Fix another case of indirectly casting away const.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix another case of indirectly casting away const.
Date: 2025-12-24 02:39:06
Message-ID: E1vYEmH-002LGW-1l@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix another case of indirectly casting away const.

This one was missed in 8f1791c61, because the machines that
detected those issues don't compile this function.

Author: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/1324889.1764886170@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9f7565c6c2d45df9705556c60f41394a8356cdf9

Modified Files
--------------
src/port/getopt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2025-12-24 04:47:03 pgsql: Don't advance origin during apply failure.
Previous Message Bruce Momjian 2025-12-24 01:36:14 pgsql: C comment: fix psql "pstdout" duplicate to "pstdin"