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

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

pgsql-sql by date

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

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