diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-04-24 14:03:10 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-04-24 14:03:10 -0300 |
commit | 1957f8dabf8daa29c78d05f971dd665c9680a754 (patch) | |
tree | 23abbf9a7aee99037f19e60c64d5a7a0448579ad /src/backend/utils/adt/jsonfuncs.c | |
parent | 055fb8d33da6ff9003e3da4b9944bdcd2e2b2a49 (diff) | |
download | postgresql-1957f8dabf8daa29c78d05f971dd665c9680a754.tar.gz postgresql-1957f8dabf8daa29c78d05f971dd665c9680a754.zip |
Initialize ExprStates once in run-time partition pruning
Instead of doing ExecInitExpr every time a Param needs to be evaluated
in run-time partition pruning, do it once during run-time pruning
set-up and cache the exprstate in PartitionPruneContext, saving a lot of
work.
Author: David Rowley
Reviewed-by: Amit Langote, Álvaro Herrera
Discussion: https://postgr.es/m/CAKJS1f8-x+q-90QAPDu_okhQBV4DPEtPz8CJ=m0940GyT4DA4w@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions