pg_stat_monitor: Calls count is not correct in PGSM.

Description

In shared result is that there only total 3 calls (2+1=3) against queries like 'INSERT INTO t2 VALUES ********', where as there should be total 8 calls, just like in case of 'INSERT INTO t1 VALUES ********' (there are total, 1+4+3=8). 

Used the following steps to produce the issue. 

You might need to change following setting in postgresql.conf to reproduce same scenario.

Environment

None

Attachments

1

Smart Checklist

Activity

Show:

Lenz Grimmer February 16, 2022 at 9:01 AM

Thanks for checking, - do we have an automated test that verifies this?

naeem.akhter February 16, 2022 at 8:59 AM

Verified, problem is fixed.  

Ibrar Ahmed January 17, 2022 at 3:26 PM

 Please verify that.

Lenz Grimmer January 10, 2022 at 10:59 AM

This change was merged from the devel branch into the master branch without a pull request.

Diego Fronza December 23, 2021 at 7:00 PM

Fixed committed, needs verification from QA.

Done

Details

Assignee

Reporter

Labels

Needs Review

Yes

Needs QA

Yes

Components

Affects versions

Priority

Smart Checklist

Created November 30, 2021 at 8:33 PM
Updated March 5, 2024 at 9:33 PM
Resolved January 10, 2022 at 10:59 AM