create function atof?

From: Mark Tabash <mark(dot)tabash(at)novacolor(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: create function atof?
Date: 2004-02-20 14:01:21
Message-ID: 200402200901.21616.mark.tabash@novacolor.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello,

Is it possible to create a database function that mimics the C function atof?
I'm guessing it should look something like this:

create function atof(varchar) returns float
as '??????'
language ????
returns null on null input;

Thanks,

Mark

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message mark 2004-02-20 14:04:11 create function atof?
Previous Message Igor Shevchenko 2004-02-20 12:42:13 Re: bytea or blobs?