Re: [HACKERS] Re: [SQL] plpgsql error
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Re: [SQL] plpgsql error |
| Дата | |
| Msg-id | 20371.926465175@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Re: [SQL] plpgsql error (Brook Milligan <brook@trillium.NMSU.Edu>) |
| Ответы |
Re: [HACKERS] Re: [SQL] plpgsql error
|
| Список | 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
В списке pgsql-hackers по дате отправления: