Re: An strftime function, and function name question

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


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

Предыдущее
От: Dave Page
Дата:
Сообщение: RE: ODBC for ver 7 (Windows 2000)
Следующее
От: Steve Wranovsky
Дата:
Сообщение: Re: [ODBC] RE: 7.1 beta 3 Linux ODBC BEGIN Behaviour