Remove RangeIOData->typiofunc
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 5 Mar 2020 14:35:02 +0000 (11:35 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 5 Mar 2020 14:35:02 +0000 (11:35 -0300)
commita77315fdf2a197a925e670be2d8b376c4ac02efc
tree351de1de93c5fdbbd39d855b14b5f0f6bdbde250
parent0065174324a97c0f39ccf0823a81fb674fb49cca
Remove RangeIOData->typiofunc

We used to carry the I/O function OID in RangeIOData, but it's not used
for anything.  Since the struct is not exposed to the world anyway, we
can simplify it a bit.  Also, rename the FmgrInfo member to match
the accompanying 'typioparam' and put them in a more sensible order.

Reviewed by Tom Lane and Paul Jungwirth.

Discussion: https://postgr.es/m/20200304215711.GA8732@alvherre.pgsql
src/backend/utils/adt/rangetypes.c