Re: Padding on 64-bit - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Padding on 64-bit
Date
Msg-id 18322.1180556462@sss.pgh.pa.us
Whole thread Raw
In response to Re: Padding on 64-bit  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Padding on 64-bit
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Magnus Hagander wrote:
>> I think that's backwards. We *are* passing them by reference, we should
>> be considering passing them by value.

> Thanks, fixed.

Also, the TODO item ought to mention float4 and float8, which IMHO ought
to be changed at the same time.  float4 could become pass-by-val-always.
I think the main reason we've avoided that is to avoid breaking old code
that is not using DatumGet/GetDatum macros, but we'll be breaking most
such code anyway with this set of changes.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Style of file error messages
Next
From: Bruce Momjian
Date:
Subject: Re: Padding on 64-bit