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

Re: Cast char to number

From: Richard Huxton <dev(at)archonet(dot)com>
To: Bill Moran <wmoran(at)potentialtech(dot)com>
Cc: rod(at)iol(dot)ie, Christine Penner <christine(at)ingenioussoftware(dot)com>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, jd(at)commandprompt(dot)com, Postgres-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Cast char to number
Date: 2010-02-24 22:16:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
On 24/02/10 22:03, Bill Moran wrote:
> Then, a year later
> you find out that the serial number is really just a number, and you
> actually want to be able to do math on it because you can find out
> the year the part was designed by dividing by 1000 or something.
> You make the best decisions you can based on the available information.
> If you get it wrong, there's always ALTER TABLE :)

Coming in 9.1:


   Richard Huxton
   Archonet Ltd

In response to

pgsql-general by date

Next:From: Martijn van OosterhoutDate: 2010-02-24 22:22:08
Subject: Performance comparison
Previous:From: Tom LaneDate: 2010-02-24 22:10:06
Subject: Re: Curious plperl behavior

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