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

From: Michael Glaesemann <grzm(at)seespotcode(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: exposing float8-as-value to PGXS/makefiles
Date: 2011-05-20 19:07:27
Message-ID: 0C9B8B8F-DBDD-4DA7-975A-FE4ECB6B38E3@seespotcode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On May 20, 2011, at 12:51, Alvaro Herrera wrote:

> 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.

To confirm, this works for Postgres versions >= 8.4, correct?

Michael Glaesemann
grzm seespotcode net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2011-05-20 19:42:07 Re: exposing float8-as-value to PGXS/makefiles
Previous Message Gurjeet Singh 2011-05-20 18:43:31 Re: Review: psql include file using relative path