Re: contrib-global.mk and sql.in question

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Robert Creager <Robert_Creager(at)LogicalChaos(dot)org>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: contrib-global.mk and sql.in question
Date: 2003-08-23 19:21:02
Message-ID: Pine.LNX.4.44.0308232119210.1106-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Houle 2003-08-24 01:15:22 Re: DBD::Pg 'lo_read' fails on >= 32768 byte large objects
Previous Message pgsql-bugs 2003-08-23 18:26:38 Returned due to virus; Was: Re: Thank you!