Re: [HACKERS] Re: [SQL] plpgsql error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brook Milligan <brook(at)trillium(dot)NMSU(dot)Edu>
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [SQL] plpgsql error
Date: 1999-05-11 23:26:15
Message-ID: 20371.926465175@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Brook Milligan <brook(at)trillium(dot)NMSU(dot)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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-05-11 23:44:28 Re: [HACKERS] 6.5 TODO list
Previous Message Tom Lane 1999-05-11 23:01:25 Re: [HACKERS] Re: [SQL] plpgsql error