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: 4B85A541.2000905@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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:

ALTER CUSTOMER ... SET REQUIREMENTS ...

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2010-02-24 22:22:08 Performance comparison
Previous Message Tom Lane 2010-02-24 22:10:06 Re: Curious plperl behavior