From: Christopher Masto <chris@netmonger.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: An strftime function, and function name question
Date: Mon, 12 Feb 2001 11:04:23 -0500
Message-ID: <20010212110423.A99218@netmonger.net> (raw)
In-Reply-To: <18468.981992306@sss.pgh.pa.us>
References: <20010207110038.A28372@netmonger.net>
<18468.981992306@sss.pgh.pa.us>
On Mon, Feb 12, 2001 at 10:38:26AM -0500, Tom Lane wrote:
> Christopher Masto <chris@netmonger.net> writes:
> > It would be nice if there were something like:
>
> > CREATE FUNCTION strftime(int4, varchar) RETURNS varchar AS
> > '/usr/local/pgsql/lib/strftime.so' LANGUAGE 'c'
> > USING C FUNCTION 'c_strftime';
>
> > I.e. some way to say "here's the name of the function in the library".
>
> See the CREATE FUNCTION reference page,
> http://www.postgresql.org/users-lounge/docs/7.0/postgres/sql-createfunction.htm
> concerning link symbols that are different from the SQL name of the
> function.
Thank you. That was exactly what I was looking for.. I don't know
how I missed it. I must have been reading the wrong manual.
--
Christopher Masto Senior Network Monkey NetMonger Communications
chris@netmonger.net info@netmonger.net http://www.netmonger.net
Free yourself, free your machine, free the daemon -- http://www.freebsd.org/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: chris@netmonger.net, tgl@sss.pgh.pa.us
Subject: Re: An strftime function, and function name question
In-Reply-To: <20010212110423.A99218@netmonger.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox