Christopher Masto <chris(at)netmonger(dot)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