Fix casting away const in _bt_reorder_array_cmp

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Fix casting away const in _bt_reorder_array_cmp
Date: 2025-12-31 07:51:55
Message-ID: CAEoWx2k-RKLXYfJhNs3S=rr7x+1KRtrOJOFyDRe4MfbL4SYw6A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Hackers,

There have been several recent efforts to eliminate cast-away-const usages.
While reviewing another patch, I happened to notice one such occurrence, so
I’m posting a trivial patch to fix it.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

Attachment Content-Type Size
v1-0001-Fix-casting-away-const-in-_bt_reorder_array_cmp.patch application/octet-stream 1014 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2025-12-31 08:13:47 Re: Error position support for ComputeIndexAttrs
Previous Message jian he 2025-12-31 07:47:53 Re: add function argument name to substring and substr