On 2018-06-05 17:11:17 -0400, Chapman Flack wrote:
> On 06/05/2018 04:57 PM, Andres Freund wrote:
> > But we don't really change the
> > collation of function invocations per-call.
>
> Is that true? (Not a rhetorical question; I'm unsure.)
Yes, it is at the moment.
> Is your argument that the expression's collation is determined once
> for each call /site/, and thereafter doesn't change over repeated
> invocations via any one call site, and a unique FmgrInfo is
> populated at each call site?
Yes, that's pretty much how it works.
Greetings,
Andres Freund