Re: contrib-global.mk and sql.in question - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: contrib-global.mk and sql.in question
Date
Msg-id Pine.LNX.4.44.0308232119210.1106-100000@peter.localdomain
Whole thread Raw
In response to contrib-global.mk and sql.in question  (Robert Creager <Robert_Creager@LogicalChaos.org>)
List pgsql-bugs
Robert Creager writes:

> Just wondering if the rule:
>
> %.sql: %.sql.in
>         sed 's,MODULE_PATHNAME,$$libdir/$*g' $< >$@
>
> is supposed to produce files like this:
>
> CREATE OR REPLACE FUNCTION pgxml_parse(text) RETURNS boolean
>     AS '$libdir/pgxml_dom' LANGUAGE c STRICT;

Yes.

See also <http://www.postgresql.org/docs/7.3/static/xfunc-c.html>.

--
Peter Eisentraut   peter_e@gmx.net

pgsql-bugs by date:

Previous
From:
Date:
Subject: Returned due to virus; Was: Re: Thank you!
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: "VIRUS found in:" Re: That movie