Re: Sort support for macaddr8 - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Sort support for macaddr8
Date
Msg-id 20190604215952.oxhjdb4okzljq5eh@alap3.anarazel.de
Whole thread Raw
In response to Re: Sort support for macaddr8  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi,

On 2019-06-04 14:55:16 -0700, Andres Freund wrote:
> On 2019-06-04 17:37:35 -0400, Alvaro Herrera wrote:
> I think it might be worthwhile to optimize things so that all typlen > 0
> && typlen <= sizeof(Datum) are allowed for byval datums.

Maybe even just deprecate specifying byval at CREATE TYPE time, and
instead automatically infer it from the type length. We've had a number
of blunders around this, and I can't really see any reason for
specifying byval = false when we internally could treat it as a byval.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Sort support for macaddr8
Next
From: David Fetter
Date:
Subject: Re: Binary support for pgoutput plugin