From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | Franco Bruno Borghesi <franco(at)akyasociados(dot)com(dot)ar> |
Cc: | "Yusuf W(dot)" <unicef2k(at)yahoo(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: Performance: BigInt vs Decimal(19,0) |
Date: | 2003-09-29 17:19:33 |
Message-ID: | 200309291019.33153.josh@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Franco,
> Wouldn't it be the most portable solution to work with a domain?
> CREATE DOMAIN BIG_NUMBER AS BIGINT;
>
> If I use BIG_NUMBER everywhere I need it in my database, porting it to
> other database products should be easy... any SQL 92 compliant dbms
> should support domains.
This is a good idea, on general principles. Abstracted design is a good
thing.
Regrettably, though, a lot of commercial databases do not support DOMAIN.
You'll need to check which databases you are thinking of porting to first.
--
Josh Berkus
Aglio Database Solutions
San Francisco
From | Date | Subject | |
---|---|---|---|
Next Message | Will LaShell | 2003-09-29 17:20:14 | Re: advice on raid controller |
Previous Message | Tom Lane | 2003-09-29 16:33:39 | Re: TPC-R benchmarks |