Re: datum passed to macro which expects a pointer - Mailing list pgsql-patches

From Gavin Sherry
Subject Re: datum passed to macro which expects a pointer
Date
Msg-id 20080412231606.GI26250@europa.idg.com.au
Whole thread Raw
In response to Re: datum passed to macro which expects a pointer  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: datum passed to macro which expects a pointer  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-patches
On Sat, Apr 12, 2008 at 07:07:48PM -0400, Tom Lane wrote:
> Gavin Sherry <swm@alcove.com.au> writes:
> > I wish. It was actually thrown up when we (Greenplum) changed the macros
> > to be inline functions as part of changing Datum to be 8 bytes.
>
> Hmmm ... Datum has been 8 bytes for many years, on 64-bit machines.
> What is it you're trying to accomplish by making it wider on 32-bitters?

I miss stated there. This was actually about making key 64 bit types
pass by value instead of pass by reference.

Thanks,

Gavin

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: datum passed to macro which expects a pointer
Next
From: Tom Lane
Date:
Subject: Re: datum passed to macro which expects a pointer