diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-01-11 12:16:18 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-01-11 12:16:18 -0500 |
commit | 4d41b2e0926548e338d20875729a55d41289f867 (patch) | |
tree | def0e673c61bd6ed36fa75601f454101c7472048 /src/backend/utils/adt/numeric.c | |
parent | 9ff4f758ee430dbce0be13ab5da315be52cb6f55 (diff) | |
download | postgresql-4d41b2e0926548e338d20875729a55d41289f867.tar.gz postgresql-4d41b2e0926548e338d20875729a55d41289f867.zip |
Add QueryEnvironment to ExplainOneQuery_hook's parameter list.
This should have been done in commit 18ce3a4ab, which added that parameter
to ExplainOneQuery, but it was overlooked. This makes it impossible for
a user of the hook to pass the queryEnv down to ExplainOnePlan.
It's too late to change this API in v10, I suppose, but fortunately
passing NULL to ExplainOnePlan will work in nearly all interesting
cases in v10. That might not be true forever, so we'd better fix it.
Tatsuro Yamada, reviewed by Thomas Munro
Discussion: https://postgr.es/m/890e8dd9-c1c7-a422-6892-874f5eaee048@lab.ntt.co.jp
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions