Re: Max connections reached without max connections reached

Поиск
Список
Период
Сортировка
От James Sewell
Тема Re: Max connections reached without max connections reached
Дата
Msg-id CAANVwEsZf0Y1XR1ePtMu_aoHdAKFi3Z2TZzOqFPiUqD0n7a7ug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Max connections reached without max connections reached  (James Sewell <james.sewell@jirotech.com>)
Список pgsql-general

Ok it is possible, I've got a C extension up and running which hooks ExecutorStart, then once for each TX ( I monitor the nesting depth like in pg_stat_statements, and only attach at the top level) attaches a sub transaction callback, tracking start subtransaction events and incrementing a counter / keeping track of the worst offenders in a hashmap.

Sorry that should be ExecutorRun  - although I'm a little confused about which is the correct choice.

-James


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

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

Предыдущее
От: James Sewell
Дата:
Сообщение: Re: Max connections reached without max connections reached
Следующее
От: Akheel Ahmed
Дата:
Сообщение: Sorting difference in version 10 vs 13