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.
I just noticed this patch does the similar thing as [3] just handling a different file. As Peter had a comment on [3], I addressed the comment as well in v2.
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.