[PATCH v2] Re: Cancel problems of query to pg_stat_statements

2025-05-12 Thread Roman Khapov
Hi! Thanks for the review! Its true that qtext_load_file() can be called with acquired lock in pg_stat_statements_internal()… So I perform INTERRUPTS_PENDING_CONDITION in v2 patch and call CHECK_FOR_INTERRUPTS later, after cycle ended and lock released. v2-cancelable-qtext_load_file.patch D

Re: Cancel problems of query to pg_stat_statements

2025-04-27 Thread Andrey Borodin
> On 24 Apr 2025, at 22:49, Roman Khapov wrote: > > Hi! > Recently we faced a problem in out production psql installation, which was > that we had to cancel all requests to the db, including performance > monitoring requests, that uses ps_stat_statements. But we could not cancel > the requ