Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info?

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info?
Date: 2018-06-05 21:11:17
Message-ID: 28633227-fdc3-7bf3-c0a3-e7bf0aba8a1e@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.)

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?

This is at the edges of my current understanding of how those gears
turn, so it could very well be true, but it seems to me that's how
the question would have to be put.

-Chap

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2018-06-05 21:14:44 Re: automating perl compile time checking
Previous Message Sven R. Kunze 2018-06-05 21:06:48 Re: Code of Conduct plan