Re: query_id, pg_stat_activity, extended query protocol

Поиск
Список
Период
Сортировка
От Alexander Lakhin
Тема Re: query_id, pg_stat_activity, extended query protocol
Дата
Msg-id a1c7787c-9816-1376-311c-f3b8e32d633a@gmail.com
обсуждение исходный текст
Ответ на Re: query_id, pg_stat_activity, extended query protocol  (Sami Imseih <samimseih@gmail.com>)
Список pgsql-hackers
Hello Michael,

01.10.2024 05:07, Michael Paquier wrote:
> On Mon, Sep 30, 2024 at 10:07:55AM +0900, Michael Paquier wrote:
> ...
> And done this part.

If I'm not missing something, all the patches discussed here are committed
now, so maybe I've encountered a new anomaly.

Please try the following script:
BEGIN;
PREPARE s AS SELECT 1;
SELECT $1 \bind 1 \g
EXECUTE s;

It produces for me:
TRAP: failed Assert("!IsQueryIdEnabled() || !pgstat_track_activities || !debug_query_string || pgstat_get_my_query_id()

!= 0"), File: "execMain.c", Line: 423, PID: 1296466

Best regards,
Alexander



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