Re: useless RangeIOData->typiofunc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
Subject: Re: useless RangeIOData->typiofunc
Date: 2020-03-05 14:26:54
Message-ID: 462.1583418414@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> Thanks -- ISTM it makes more sense to put the FmgrInfo before the
> typioparam too:

> typedef struct RangeIOData
> {
> TypeCacheEntry *typcache; /* range type's typcache entry */
> FmgrInfo proc; /* element type's I/O function */
> Oid typioparam; /* element type's I/O parameter */
> } RangeIOData;

Yeah, WFM. Maybe even rename the FmgrInfo to "typioproc"
or the like?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurenz Albe 2020-03-05 14:27:31 Re: Berserk Autovacuum (let's save next Mandrill)
Previous Message tushar 2020-03-05 14:19:37 Re: [Proposal] Global temporary tables