Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group