Re: Is float8 a reference type?

From: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is float8 a reference type?
Date: 2017-09-23 03:05:11
Message-ID: CA+renyXUp74zuB6HOUMqaW9Sq0OMY1cyf7_D4qim0c8o9014gA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Sep 22, 2017 at 7:52 PM, Paul A Jungwirth
<pj(at)illuminatedcomputing(dot)com> wrote:
> Is a Datum always 8 bytes for 64-bit architectures?

Never mind, I found this in `pg_config.h`:

/* float8, int8, and related values are passed by value if 'true', by
reference if 'false' */
#define FLOAT8PASSBYVAL true

Paul

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul A Jungwirth 2017-09-23 03:10:31 Re: Is float8 a reference type?
Previous Message Pavel Stehule 2017-09-23 03:05:05 Re: Is float8 a reference type?