From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Generating config stuff from single source |
Date: | 2006-02-16 14:41:08 |
Message-ID: | 27869.1140100868@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Am Donnerstag, 16. Februar 2006 02:50 schrieb Tom Lane:
>> The m4 idea seems attractive to me because that's already effectively
>> required as part of the autoconf infrastructure (and I think bison
>> uses it too these days).
> That is true, but I'm afraid that this will lead to code that only a few
> people will be able to maintain. (Try programming a loop in m4 to start.)
>> A similar issue that's been bothering me for awhile is that it'd be a
>> lot less error prone if keywords.c and the keyword list productions in
>> gram.y were generated off a common declarative source (which might as
>> well produce the keyword documentation appendix too).
> That could be a job for m4, I think.
Hmm ... well, if we are going to do this other thing with xsltproc, the
keyword problem should probably be solved with the same tool.
I hesitate to mention this, but: we have several other derived files in
the tarball (postgres.bki, fmgroids.h, etc) and those are all built with
shell/awk/sed/perl scripts. How out of the question is it to solve the
GUC problem with that technology?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-02-16 14:42:40 | Re: [HACKERS] qsort again (was Re: Strange Create Index behaviour) |
Previous Message | Alvaro Herrera | 2006-02-16 14:38:26 | Re: Patch Submission Guidelines |