Re: exposing float8-as-value to PGXS/makefiles

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: exposing float8-as-value to PGXS/makefiles
Date: 2011-05-20 16:43:25
Message-ID: 12766.1305909805@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2011-05-20 16:51:14 Re: exposing float8-as-value to PGXS/makefiles
Previous Message Alvaro Herrera 2011-05-20 16:20:56 exposing float8-as-value to PGXS/makefiles