Re: [GENERAL] Is float8 a reference type? - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Is float8 a reference type?
Date
Msg-id 29712.1506137886@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Is float8 a reference type?  (Paul A Jungwirth <pj@illuminatedcomputing.com>)
Responses Re: [GENERAL] Is float8 a reference type?  (Paul A Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-general
Paul A Jungwirth <pj@illuminatedcomputing.com> writes:
> On Fri, Sep 22, 2017 at 8:05 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> I don't think so it is good idea to write 64bit only extensions.

> I agree, but how about this?:

"Premature optimization is the root of all evil".  Do you have good reason
to think that it's worth your time to write unsafe/unportable code?  Do
you know that your compiler doesn't turn Float8GetDatum into a no-op
already?  (Mine does, on a 64-bit machine.)
        regards, tom lane


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [GENERAL] Is float8 a reference type?
Next
From: Tim Uckun
Date:
Subject: [GENERAL] Why can't the database owner create schemas and how can I enable that?