Re: Re: Enhance Makefiles to rebuild objects on map file changes
В списке pgsql-hackers по дате отправления:
| От | 厉超 |
|---|---|
| Тема | Re: Re: Enhance Makefiles to rebuild objects on map file changes |
| Дата | |
| Msg-id | 4e5a18b0.181.1987dbe5683.Coremail.lic@highgo.com обсуждение исходный текст |
| Ответ на | Re: Enhance Makefiles to rebuild objects on map file changes (Chao Li <lic@highgo.com>) |
| Список | pgsql-hackers |
Try again ...
-----Original Messages-----
From: "Chao Li" <lic@highgo.com>
Send time: Wednesday, 06/08/2025 12:56:36To: pgsql-hackers@lists.postgresql.org
Subject: Re: Enhance Makefiles to rebuild objects on map file changesIt looks weird. From https://www.postgresql.org/message-id/1CA8625F-AA41-4ED2-B60F-E28AC71F37DC%40highgo.com, I don’t see the attachment of the patch file. However, the email in my Inbox has the attachment.Try to resend the attachment.Chao Li (Evan)
--------------------
HighGo Infra. Software Inc.
https://www.highgo.com/On Aug 6, 2025, at 12:41, Chao Li <lic@highgo.com> wrote:<v1-0001-Enhance-Makefiles-to-rebuild-objects-on-map-file-.patch>Hi Community,While working on the upgrade from GB18030 to GB18030-2022, I updated two GB18030-related map files. However, rebuilding PostgreSQL did not recompile anything, which led me to discover that the Makefiles under src/backend/utils/mb/conversion_procs were missing dependency rules between NAME.o and the corresponding map files.This patch adds the necessary dependencies to ensure that when a map file changes, the corresponding .o file is rebuilt accordingly.I have done tests for every Makefile I changed in a way like:# make a change to a map file$ make# a .o got rebuilt$ make # make again without map file change# nothing re-compiledChao Li (Evan)
--------------------
HighGo Infra. Software Inc.
https://www.highgo.com/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера