| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: exposing float8-as-value to PGXS/makefiles |
| Date: | 2011-05-20 16:51:14 |
| Message-ID: | 1305910261-sup-9786@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Excerpts from Tom Lane's message of vie may 20 12:43:25 -0400 2011:
> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> > I was just messing around with a datatype that's based in int64
> > representation. Pretty much everything (seems to) work cleanly, but one
> > problem I have is that I cannot build the correct CREATE TYPE sentence
> > in the .sql.in file to actually install the type, because there's no
> > easy way to figure out whether float64 (and therefore int64) is passed
> > by value or not.
>
> We already solved that for contrib/isn --- use the LIKE clause in CREATE
> TYPE.
Ooh, excellent, thanks.
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Hagander | 2011-05-20 17:50:09 | Re: adding a new column in IDENTIFY_SYSTEM |
| Previous Message | Tom Lane | 2011-05-20 16:43:25 | Re: exposing float8-as-value to PGXS/makefiles |