I wrote:
> =?utf-8?Q?=C3=81lvaro?= Herrera <alvherre(at)kurilemu(dot)de> writes:
> I think that where the Portal gets a tag is in PortalDefineQuery,
> and that's normally set as a result of parsing.
So rather than using the word "default", maybe like
* If a command tag was requested and we did not fill in a
* run-time-determined tag above, copy the parse-time tag
* from the Portal. (There might not be any tag there either,
* in edge cases such as empty prepared statements. That's OK.)
regards, tom lane