Refactor to eliminate cast-away-const in pg_dump object sort comparator - Mailing list pgsql-hackers

From Chao Li
Subject Refactor to eliminate cast-away-const in pg_dump object sort comparator
Date
Msg-id CAEoWx2nN3LYhBmDBaXDoZ=+ikNJkJT7vzg+xPYsHUTSkV8unvg@mail.gmail.com
Whole thread Raw
Responses Re: Refactor to eliminate cast-away-const in pg_dump object sort comparator
List pgsql-hackers
Hi Hacker,

While reviewing patch [1], I raised a comment about cast-away-const in pg_dump_sort.c. However, the comment was not accepted and the argument was that the nearby code did the same thing. 

I saw Tom recently had a commit [2] that removed some cast-away-const in ecpg, so I am filing this patch to eliminate all cast-away-const problems in pg_dump_sort.c.


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




Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCH] Fix typo in psql \copy command documentation
Next
From: Chao Li
Date:
Subject: Fix incorrect buffer lock description in pg_visibility comment