Re: converting varchar to integer

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Cc: tv(at)fuzzy(dot)cz
Subject: Re: converting varchar to integer
Date: 2005-08-17 00:05:49
Message-ID: 200508161705.50261.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tomas,

> I've written two on my own (see the functions below),
> but maybe there's something faster?

Nope. 'cept I'd combine those two functions into a single function that
returns NULL if the value isn't an integer.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Lee Hyun soon 2005-08-17 05:29:45 pgsql-bugs
Previous Message tv 2005-08-16 23:34:48 converting varchar to integer