Re: [PATCH] Document heuristics for parameterized paths

2021-12-16 Thread Steinar H. Gunderson
On Wed, Dec 15, 2021 at 11:23:12PM -0500, Greg Stark wrote: >>> +one that must cannot be delayed right away (because of outer join >> must cannot? > Actually on further reading... "delayed right away"? There are two ways of writing this sentence, and I see that I tried to use both of them in the s

Re: [PATCH] Document heuristics for parameterized paths

2021-12-15 Thread Greg Stark
On Wed, 15 Dec 2021 at 23:22, Greg Stark wrote: > > On Mon, 6 Dec 2021 at 13:01, Steinar H. Gunderson > wrote: > > > > +one that must cannot be delayed right away (because of outer join > > must cannot? Actually on further reading... "delayed right away"? -- greg

Re: [PATCH] Document heuristics for parameterized paths

2021-12-15 Thread Greg Stark
On Mon, 6 Dec 2021 at 13:01, Steinar H. Gunderson wrote: > > +one that must cannot be delayed right away (because of outer join must cannot? -- greg

[PATCH] Document heuristics for parameterized paths

2021-12-06 Thread Steinar H. Gunderson
Hi, A small patch to the documentation about how to reduce the number of parameterized paths, because it kept me searching for a long time :-) (The code this documents is in add_paths_to_joinrel(), the loop foreach(lc, root->join_info_list).) diff --git a/src/backend/optimizer/README b/src/backe