Optimize expression evaluation in PL/pgSQL

Edit
ID 2282
Title Optimize expression evaluation in PL/pgSQL
Topic Performance
Created 2019-09-13 07:52:26
Last modified 2019-11-22 20:02:42 (5 years ago)
Latest email 2019-11-22 20:11:09 (5 years ago)
Status
2019-11: Committed
Target version
Authors Konstantin Knizhnik (knizhnik)
Reviewers Pavel Stehule (okbobcz)Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/2282
git checkout commitfest/cf/2282
Emails
Why overhead of SPI is so large?
First at 2019-08-21 16:41:08 by Konstantin Knizhnik <k.knizhnik at postgrespro.ru>
Latest at 2019-11-22 20:11:09 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (plpgsql_exec_expr-3.patch) at 2019-11-21 09:31:23 from Konstantin Knizhnik <k.knizhnik at postgrespro.ru>
    Attachment (plpgsql_exec_expr-3.patch) at 2019-11-21 09:31:23 from Konstantin Knizhnik <k.knizhnik at postgrespro.ru> (Patch: Yes)
    Attachment (plpgsql_exec_expr-3.patch) at 2019-11-05 21:14:40 from Pavel Stehule <pavel.stehule at gmail.com> (Patch: Yes)
    Attachment (plpgsql_exec_expr-2.patch) at 2019-08-23 14:32:02 from Konstantin Knizhnik <k.knizhnik at postgrespro.ru> (Patch: Yes)
    Attachment (plpgsql_exec_expr.patch) at 2019-08-23 09:05:30 from Konstantin Knizhnik <k.knizhnik at postgrespro.ru> (Patch: Yes)
    Attachment (spi_test.tgz) at 2019-08-21 16:41:08 from Konstantin Knizhnik <k.knizhnik at postgrespro.ru> (Patch: No)
History
When Who What
2019-11-22 20:02:42 Tom Lane (tgl) Closed in commitfest 2019-11 with status: Committed
2019-11-22 19:46:34 Tom Lane (tgl) Added tgl as committer
2019-11-20 20:13:58 Tom Lane (tgl) New status: Waiting on Author
2019-11-06 05:22:51 Pavel Stehule (okbobcz) New status: Ready for Committer
2019-11-05 19:00:58 Pavel Stehule (okbobcz) Added okbobcz as reviewer
2019-09-13 07:52:48 Konstantin Knizhnik (knizhnik) Changed authors to Konstantin Knizhnik (knizhnik)
2019-09-13 07:52:27 Konstantin Knizhnik (knizhnik) Attached mail thread ed9da20e-01aa-d04b-d085-e6c16b14b9d7@postgrespro.ru
2019-09-13 07:52:26 Konstantin Knizhnik (knizhnik) Created patch record
Edit