Re: query_id, pg_stat_activity, extended query protocol - Mailing list pgsql-hackers

From Alexander Lakhin
Subject Re: query_id, pg_stat_activity, extended query protocol
Date
Msg-id a1c7787c-9816-1376-311c-f3b8e32d633a@gmail.com
Whole thread Raw
In response to Re: query_id, pg_stat_activity, extended query protocol  (Sami Imseih <samimseih@gmail.com>)
List 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 by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: pg_trgm comparison bug on cross-architecture replication due to different char implementation
Next
From: "Daniel Verite"
Date:
Subject: Re: Fixing backslash dot for COPY FROM...CSV