Re: [BUG] pg_stat_statements and extended query protocol
От | Imseih (AWS), Sami |
---|---|
Тема | Re: [BUG] pg_stat_statements and extended query protocol |
Дата | |
Msg-id | EC5F1919-6777-44D2-BB32-87DA503EF614@amazon.com обсуждение исходный текст |
Ответ на | Re: [BUG] pg_stat_statements and extended query protocol (David Zhang <david.zhang@highgo.ca>) |
Ответы |
Re: [BUG] pg_stat_statements and extended query protocol
|
Список | pgsql-hackers |
Sorry about the delay in response about this. I was thinking about this and it seems to me we can avoid adding new fields to Estate. I think a better place to track rows and calls is in the Instrumentation struct. --- a/src/include/executor/instrument.h +++ b/src/include/executor/instrument.h @@ -88,6 +88,8 @@ typedef struct Instrumentation double nfiltered2; /* # of tuples removed by "other" quals */ BufferUsage bufusage; /* total buffer usage */ WalUsage walusage; /* total WAL usage */ + int64 calls; + int64 rows_processed; } Instrumentation; If this is more palatable, I can prepare the patch. Thanks for your feedback. Regards. Sami Imseih Amazon Web Services (AWS)
В списке pgsql-hackers по дате отправления: