Skip to content

Conversation

BupycHuk
Copy link
Member

No description provided.

@BupycHuk BupycHuk requested a review from a team as a code owner November 26, 2024 10:43
rows := sqlmock.NewRows(columns).
AddRow(354, 4945, 289097744, 1242257, int64(3275602074), 89320867, 450139, 2034563757, 0, int64(2725688749), srT)
mock.ExpectQuery(sanitizeQuery(statBGWriterQuery)).WillReturnRows(rows)
mock.ExpectQuery(sanitizeQuery(statBGWriterQueryPrePG17)).WillReturnRows(rows)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we cover this change with unit tests for PG >= 17 as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a temporary solution until we get proper solution from upstream

@BupycHuk BupycHuk requested review from ademidoff and idoqo November 27, 2024 09:37
@BupycHuk BupycHuk merged commit 5f34fc4 into main Nov 27, 2024
6 checks passed
@BupycHuk BupycHuk deleted the PMM-13448-PG17-compatibility-metrics branch November 27, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants