]> granicus.if.org Git - postgresql/commit
Improve caching in range type I/O functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Nov 2011 20:47:51 +0000 (15:47 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Nov 2011 20:47:51 +0000 (15:47 -0500)
commit04da3232907680caad3445928c97a246c626a14a
tree865ab77ff934f55ef8cb61f92e1ffdeed6f6ecf1
parent37ee4b75db8f979da6d67ba153d068b012394b46
Improve caching in range type I/O functions.

Cache the the element type's I/O info across calls, not only the range
type's info.  In passing, also clean up hash_range a bit more.
src/backend/utils/adt/rangetypes.c