| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | felix(at)crowfix(dot)com |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Wider than float8 |
| Date: | 2007-06-09 00:53:37 |
| Message-ID: | 200706090053.l590rbB15027@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
felix(at)crowfix(dot)com wrote:
> On Fri, Jun 08, 2007 at 03:00:35PM -0400, Bruce Momjian wrote:
> > No. Frankly I didn't know 12-byte floats were supported in CPUs until
> > you posted this. You could write your own data type to use it, of
> > course.
>
> I didn't either, and have no use for them, but curiousity compels me
> to wonder how hard this would be. I don't have the sources right at
> hand. Is all float8 code in one source file, and would it be a pretty
> simple matter to add float 12 with a search and replace and not much
> more?
You would look in src/backend/utils/adt/float.c for the existing float8
data types, and in /contrib for examples of creating data types that are
not in the backend by default.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | lhaj.merigh@gmail.com | 2007-06-09 00:59:38 | Re: parametered views |
| Previous Message | felix | 2007-06-09 00:14:20 | Re: Wider than float8 |