pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Tabash <mark.tabash@novacolor.ca>
To: pgsql-sql@postgresql.org
Subject: create function atof?
Date: Fri, 20 Feb 2004 09:01:21 -0500
Message-ID: <200402200901.21616.mark.tabash@novacolor.ca> (raw)

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



view thread (5+ messages)  latest in thread

Message-ID: <200402200901.21616.mark.tabash@novacolor.ca>
Permalink:  ../200402200901.21616.mark.tabash@novacolor.ca/
Also on:    postgresql.org/message-id/200402200901.21616.mark.tabash@novacolor.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mark.tabash@novacolor.ca
  Subject: Re: create function atof?
  In-Reply-To: <200402200901.21616.mark.tabash@novacolor.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox