Re: [HACKERS] Re: [SQL] plpgsql error - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Re: [SQL] plpgsql error
Date
Msg-id 20371.926465175@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Re: [SQL] plpgsql error  (Brook Milligan <brook@trillium.NMSU.Edu>)
Responses Re: [HACKERS] Re: [SQL] plpgsql error  (jwieck@debis.com (Jan Wieck))
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: [SQL] plpgsql error
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] 6.5 TODO list