Hi, On 2018-01-08 20:20:09 -0500, Tom Lane wrote: > No, you have it right. I checked locally and confirmed Andres' assertion > that by default, gcc (my version anyway) is not persuaded to inline > ExecHashJoinImpl simply by "inline", but "always_inline" persuades it. > Maybe at some level higher than -O2, or with some other weird flag, > it would do what we want; but we probably don't want to mess with global > compiler flags for this.
There's -finline-limit=n, but as you say, I don't think we want to mess with this. Greetings, Andres Freund