From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christopher Masto <chris@netmonger.net>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: An strftime function, and function name question
Date: Mon, 12 Feb 2001 10:38:26 -0500
Message-ID: <18468.981992306@sss.pgh.pa.us> (raw)
In-Reply-To: <20010207110038.A28372@netmonger.net>
References: <20010207110038.A28372@netmonger.net>
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.
If you're using something older than 7.0, time to upgrade ...
regards, tom lane
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: tgl@sss.pgh.pa.us, chris@netmonger.net
Subject: Re: An strftime function, and function name question
In-Reply-To: <18468.981992306@sss.pgh.pa.us>
* 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