Re: An strftime function, and function name question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Masto <chris(at)netmonger(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: An strftime function, and function name question
Date: 2001-02-12 15:38:26
Message-ID: 18468.981992306@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Christopher Masto 2001-02-12 16:04:23 Re: An strftime function, and function name question
Previous Message Dave Page 2001-02-12 15:19:14 RE: ODBC for ver 7 (Windows 2000)