Re: Enhance Makefiles to rebuild objects on map file changes

2025-10-17 Thread John Naylor
On Thu, Oct 9, 2025 at 10:46 AM Chao Li wrote: > I just tried meson build, it seems to only rebuild the corresponding libs > without rebuilding Postgres binaries: > Is that expected? I think we need Postgres executables to be rebuilt then we > can run tests. Dynamic shared objects are loaded a

Re: Enhance Makefiles to rebuild objects on map file changes

2025-10-09 Thread Chao Li
> On Oct 9, 2025, at 16:45, John Naylor wrote: > > On Thu, Oct 9, 2025 at 10:46 AM Chao Li wrote: >> I just tried meson build, it seems to only rebuild the corresponding libs >> without rebuilding Postgres binaries: > >> Is that expected? I think we need Postgres executables to be rebuilt th

Re: Enhance Makefiles to rebuild objects on map file changes

2025-10-08 Thread Chao Li
> On Aug 19, 2025, at 23:43, Álvaro Herrera wrote: > > On 2025-Aug-19, Chao Li wrote: > >> Hi John, >> >> Let me explain the Makefile patch in this separate thread, as this is >> generic to all maps. >> >> Let’s not use gb18030 as an example, instead, using utf8_and_win. >> >> When any of

Re: Enhance Makefiles to rebuild objects on map file changes

2025-10-08 Thread Chao Li
> On Aug 20, 2025, at 11:44, John Naylor wrote: > > On Tue, Aug 19, 2025 at 10:43 PM Álvaro Herrera wrote: >> >> Also, I suspect you should do something about Meson, but I don't know >> what that would look like. > > It seems to work already on Meson: > > $ > $ touch src/backend/utils/mb/U

Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-19 Thread John Naylor
On Tue, Aug 19, 2025 at 10:43 PM Álvaro Herrera wrote: > > Also, I suspect you should do something about Meson, but I don't know > what that would look like. It seems to work already on Meson: $ $ touch src/backend/utils/mb/Unicode/win874_to_utf8.map $ building for debug ninja: Entering direct

Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-19 Thread Álvaro Herrera
On 2025-Aug-19, Chao Li wrote: > Hi John, > > Let me explain the Makefile patch in this separate thread, as this is generic > to all maps. > > Let’s not use gb18030 as an example, instead, using utf8_and_win. > > When any of the win-related map file changes, it suppose to automatically > rebu

Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-18 Thread Chao Li
Hi John, Let me explain the Makefile patch in this separate thread, as this is generic to all maps. Let’s not use gb18030 as an example, instead, using utf8_and_win. When any of the win-related map file changes, it suppose to automatically rebuild utf8_and_win.o. WITHOUT this patch, after I t

Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-12 Thread Chao Li
Hi Bruce, Thanks for the information. > > Sorry, URL is: > > https://discussions.apple.com/thread/254969428?sortBy=rank&page=1 > My problem was different. The situation I faced was: * If I use my company’s email account with Mac Mail app to send a patch, then from other email clients

Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-12 Thread Bruce Momjian
On Tue, Aug 12, 2025 at 11:58:12AM -0400, Bruce Momjian wrote: > On Wed, Aug 6, 2025 at 11:41:46AM +0200, Álvaro Herrera wrote: > > On 2025-Aug-06, Chao Li wrote: > > > > > It looks weird. From > > > https://www.postgresql.org/message-id/1CA8625F-AA41-4ED2-B60F-E28AC71F37DC%40highgo.com, > > > I

Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-12 Thread Bruce Momjian
On Wed, Aug 6, 2025 at 11:41:46AM +0200, Álvaro Herrera wrote: > On 2025-Aug-06, Chao Li wrote: > > > It 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 > > In

Re: Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-06 Thread 厉超
stgresql.org > Subject: Re: Enhance Makefiles to rebuild objects on map file changes > > On 2025-Aug-06, Chao Li wrote: > > > It looks weird. From > > https://www.postgresql.org/message-id/1CA8625F-AA41-4ED2-B60F-E28AC71F37DC%40highgo.com, > > I don’t see the attachm

Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-06 Thread Álvaro Herrera
On 2025-Aug-06, Chao Li wrote: > It 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. Yeah, AppleMail is known to do this. I don't know

Enhance Makefiles to rebuild objects on map file changes

2025-08-05 Thread Chao Li
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 N

Re: Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-05 Thread 厉超
Try again ... -Original Messages- From:"Chao Li" Send time:Wednesday, 06/08/2025 12:56:36 To: [email protected] Subject: Re: Enhance Makefiles to rebuild objects on map file changes It looks weird. From https://www.postgresql.org/message-id/1CA8625F

Re: Enhance Makefiles to rebuild objects on map file changes

2025-08-05 Thread Chao Li
It 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.ht