Assert in pg_stat_statements - Mailing list pgsql-hackers

From Satoshi Nagayasu
Subject Assert in pg_stat_statements
Date
Msg-id 55C5C52A.40107@uptime.jp
Whole thread Raw
List pgsql-hackers
Hi,

I just found that pg_stat_statements causes assert when queryId is
set by other module, which is loaded prior to pg_stat_statements in
the shared_preload_libraries parameter.

Theoretically, queryId in the shared memory could be set by other
module by design.

So, IMHO, pg_stat_statements should not cause assert even if queryId
already has non-zero value --- my module has this problem now.

Is my understanding correct? Any comments?

Regards,

--
NAGAYASU Satoshi <snaga@uptime.jp>

Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Raising our compiler requirements for 9.6
Next
From: Shay Rojansky
Date:
Subject: statement_timeout affects query results fetching?