create function atof? - Mailing list pgsql-sql

From mark
Subject create function atof?
Date
Msg-id 200402200904.11199.postgresql@novacolor.ca
Whole thread Raw
Responses Re: create function atof?  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
Re: create function atof?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-sql by date:

Previous
From: Igor Shevchenko
Date:
Subject: Re: bytea or blobs?
Next
From: Achilleus Mantzios
Date:
Subject: Re: create function atof?