Re: An strftime function, and function name question

Поиск
Список
Период
Сортировка
От Christopher Masto
Тема Re: An strftime function, and function name question
Дата
Msg-id 20010212110423.A99218@netmonger.net
обсуждение исходный текст
Ответ на Re: An strftime function, and function name question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
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/


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Daisuke Maki
Дата:
Сообщение: lo_creat problem?
Следующее
От: mike
Дата:
Сообщение: Problems with ODBC driver and MSSQL