Question: rebuilding frontend tools after libpgfeutils.a changes?

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Question: rebuilding frontend tools after libpgfeutils.a changes?
Date: 2026-03-02 09:32:55
Message-ID: 3BF3277D-0FA2-471F-8B3C-8F1248064F29@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

While working on patch [1], I noticed that after modifying astreamer_lz4.c, running “make" only rebuilds libpgfeutils.a, but does not automatically rebuild the client tools that depend on it. This makes iterative development a bit inconvenient, as the tools need to be rebuilt manually.

I am wondering whether it would be worth updating the relevant Makefiles so that changes to libpgfeutils.a properly trigger rebuilds of dependent frontend binaries.

Since this would likely involve touching quite a few Makefiles, I’d prefer to check first whether committers think the effort is worthwhile before spending time on it. That’s the reason for this email.

[1] https://postgr.es/m/0594CC79-1544-45DD-8AA4-26270DE777A7@gmail.com

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ilia Evdokimov 2026-03-02 09:35:15 Re: Hash-based MCV matching for large IN-lists
Previous Message Steven Niu 2026-03-02 09:32:30 Re: Refactor handling of "-only" options in pg_dump, pg_restore