pgsql: Cache datatype-output-function lookup info across calls of conca

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cache datatype-output-function lookup info across calls of conca
Date: 2017-09-19 19:10:07
Message-ID: E1duNuJ-0000IM-Ih@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Cache datatype-output-function lookup info across calls of concat().

Testing indicates this can save a third to a half of the runtime
of the function.

Pavel Stehule, reviewed by Alexander Kuzmenkov

Discussion: https://postgr.es/m/CAFj8pRAT62pRgjoHbgTfJUc2uLmeQ4saUj+yVJAEZUiMwNCmdg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ed22fb8b0091deea23747310fa7609079a96cf82

Modified Files
--------------
src/backend/utils/adt/varlena.c | 54 ++++++++++++++++++++++++++++++++++-------
1 file changed, 45 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2017-09-19 19:20:32 Re: pgsql: Make new crash restart test a bit more robust.
Previous Message Andrew Dunstan 2017-09-19 18:54:51 pgsql: Set client encoding to UTF8 for the citext regression script