Re: Generate GUC tables from .dat file
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Nathan Bossart <nathandbossart@gmail.com>,
Richard Guo <guofenglinux@gmail.com>,
John Naylor <johncnaylorls@gmail.com>,
"David E. Wheeler" <david@justatheory.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Daniel Gustafsson <daniel@yesql.se>
Date: 2025-09-23T18:07:58Z
Lists: pgsql-hackers
Attachments
- guc_parameters-dependency.patch (text/x-diff) patch
While experimenting with a patch that adds a GUC, I was befuddled by the new GUC's failure to be available after I rebuilt and reinstalled. I eventually realized that the problem is that utils/misc/Makefile has no idea that guc_tables.o needs to be rebuilt after changing guc_tables.inc.c. Of course, this isn't a problem if you use --enable-depend, but I generally don't. IMO we have a project policy that dependencies other than dependencies on .h files should be understood by the Makefiles, so I think we need the attached. regards, tom lane
Commits
-
Ensure guc_tables.o's dependency on guc_tables.inc.c is known.
- aadbcc40bc24 19 (unreleased) landed
-
Clean up newly added guc_tables.inc.c
- f0478149c34d 19 (unreleased) landed
-
Generate GUC tables from .dat file
- 63599896545c 19 (unreleased) landed
-
Formatting cleanup of guc_tables.c
- 878656dbde0d 19 (unreleased) landed