pgsql: Improve caching in range type I/O functions.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve caching in range type I/O functions.
Date: 2011-11-15 20:48:21
Message-ID: E1RQPvZ-0003mY-4r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/04da3232907680caad3445928c97a246c626a14a

Modified Files
--------------
src/backend/utils/adt/rangetypes.c | 316 ++++++++++++++++++++----------------
1 files changed, 176 insertions(+), 140 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-11-16 01:36:53 pgsql: Don't elide blank lines when accumulating psql command history.
Previous Message Tom Lane 2011-11-15 18:06:24 pgsql: Restructure function-internal caching in the range type code.