Re: BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti
Дата
Msg-id 1143240.1752622819@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti
Список pgsql-bugs
Michael Paquier <michael@paquier.xyz> writes:
> On Tue, Jul 15, 2025 at 12:05:34PM -0400, Tom Lane wrote:
>> Perhaps we should
>> add something about the possibility that an outer Portal level
>> can supply a default command tag if we lack one now?

> You mean as an extra assertion?  I am not sure that this is strongly
> necessary but why not.

No, I meant that the comment could explain that if we fail to assign a
non-unknown CMDTAG here, there's still a possibility of an outer
Portal level supplying one.  But I don't see how to make a useful
assertion about that.

            regards, tom lane



В списке pgsql-bugs по дате отправления: