]> granicus.if.org Git - postgresql/commit
Cache datatype-output-function lookup info across calls of concat().
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Sep 2017 19:09:34 +0000 (15:09 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Sep 2017 19:09:38 +0000 (15:09 -0400)
commited22fb8b0091deea23747310fa7609079a96cf82
treef05ec800378c5b2f116eb1e47558a9809ec77bc3
parent890faaf1957759c6e17fbcbfd16f7cabc4a59d07
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
src/backend/utils/adt/varlena.c