Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catch non default GUCs in execution context, impacting execution plan #4

Open
legrandlegrand opened this issue Dec 15, 2018 · 2 comments
Assignees
Labels
how to Explain how to do something

Comments

@legrandlegrand
Copy link
Owner

see
https://www.postgresql-archive.org/explain-plans-with-information-about-modified-gucs-td6062825.html

@legrandlegrand legrandlegrand added the enhancement New feature or request label Dec 15, 2018
@legrandlegrand legrandlegrand self-assigned this Dec 15, 2018
@legrandlegrand legrandlegrand changed the title catch non default GUCs in execution context, impacting excution plan catch non default GUCs in execution context, impacting execution plan Dec 15, 2018
@legrandlegrand
Copy link
Owner Author

legrandlegrand commented Dec 15, 2018

after applying
explain-with-gucs-v3.patch

changing pg_stat_sql_plans.c
with
+ es->gucs = true;
es->format = EXPLAIN_FORMAT_TEXT;

returns non default performance gucs in logs with explain

@legrandlegrand
Copy link
Owner Author

legrandlegrand commented Apr 20, 2019

in pg12, this has been renamed from explain (GUCS ON) to explain (SETTINGS ON)
see https://git.postgresql.org/pg/commitdiff/ea569d64ac7174d3fe657e3e682d11053ecf1866

@legrandlegrand legrandlegrand added how to Explain how to do something and removed enhancement New feature or request labels Apr 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
how to Explain how to do something
Projects
None yet
Development

No branches or pull requests

1 participant