Re: An strftime function, and function name question - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: An strftime function, and function name question
Date
Msg-id 18468.981992306@sss.pgh.pa.us
Whole thread Raw
In response to An strftime function, and function name question  (Christopher Masto <chris@netmonger.net>)
Responses Re: An strftime function, and function name question  (Christopher Masto <chris@netmonger.net>)
List 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 by date:

Previous
From: Dave Page
Date:
Subject: RE: ODBC for ver 7 (Windows 2000)
Next
From: Steve Wranovsky
Date:
Subject: Re: [ODBC] RE: 7.1 beta 3 Linux ODBC BEGIN Behaviour