Re: [HACKERS] Re: [SQL] plpgsql error
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brook Milligan <brook@trillium.NMSU.Edu>
Cc: hackers@postgreSQL.org
Date: 1999-05-11T23:26:15Z
Lists: pgsql-hackers
Brook Milligan <brook@trillium.NMSU.Edu> writes:
> Isn't the correct solution to have the Makefile contain a rule that
> creates the file from a template (e.g., with sed -e
> 's/@xxx@/${xxx}/g')? That way make resolves the variable references
> and you needn't worry about it.
(after further thought...) Oh, right, I see what you're saying: don't
generate mklang.sql in configure at all, but let pl/plpgsql/src/Makefile
be responsible for it. Yeah, that'd be a cleaner solution. However,
what I just committed works ;-). If you feel like improving it, be
my guest; I have other items on the to-do list...
regards, tom lane