summaryrefslogtreecommitdiff
path: root/src/backend/commands/collationcmds.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-11-20 07:47:48 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-11-20 07:47:48 +0100
commitb5623cc5e4197b59d37b869fbd92c1778be0438e (patch)
tree17ba92736d1b47a90aa286bbb437e552a0f13261 /src/backend/commands/collationcmds.c
parentaaf035790aebb4de6d85b60f8f3089c3c656b325 (diff)
Remove obsolete cast
The upstream timezone code uses a bool variable as an array subscript. Back when PostgreSQL's bool was char, this would have caused a warning from gcc -Wchar-subscripts, which is included in -Wall. But this has been obsolete since probably commit d26a810ebf9, but certainly since bool is now the C standard bool. So we can remove this deviation from the upstream code, to make future code merges simpler. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/9ad2749f-77ab-4ecb-a321-1ca915480b05%40eisentraut.org
Diffstat (limited to 'src/backend/commands/collationcmds.c')
0 files changed, 0 insertions, 0 deletions