Re: useless RangeIOData->typiofunc - Mailing list pgsql-hackers

From Tom Lane
Subject Re: useless RangeIOData->typiofunc
Date
Msg-id 462.1583418414@sss.pgh.pa.us
Whole thread Raw
In response to Re: useless RangeIOData->typiofunc  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: useless RangeIOData->typiofunc
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.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



pgsql-hackers by date:

Previous
From: tushar
Date:
Subject: Re: [Proposal] Global temporary tables
Next
From: Laurenz Albe
Date:
Subject: Re: Berserk Autovacuum (let's save next Mandrill)