Skip to content

test(pgsql): SP-1 — PostgreSQL protocol test coverage (auth matrix, data types, cursors, pool churn, LISTEN/NOTIFY) + pg_lite_client MD5/SCRAM - #5894

Merged
renecannao merged 23 commits into
v3.0from
test/pgsql-protocol-testing-design
Aug 10, 2026
Merged

test(pgsql): SP-1 — PostgreSQL protocol test coverage (auth matrix, data types, cursors, pool churn, LISTEN/NOTIFY) + pg_lite_client MD5/SCRAM#5894
renecannao merged 23 commits into
v3.0from
test/pgsql-protocol-testing-design

Merge remote-tracking branch 'origin/v3.0' into test/pgsql-protocol-t…

79438d0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 10, 2026 in 58s

Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 144 in test/tap/tests/pgsql-datatype_matrix-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUtk7K10A4FbEbXS&open=AZ9BMUtk7K10A4FbEbXS&pullRequest=5894

Check failure on line 493 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXo&open=AZ9BMUzp7K10A4FbEbXo&pullRequest=5894

Check warning on line 84 in test/tap/tests/pgsql-server_side_cursors-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "todo" comment.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzz7K10A4FbEbXq&open=AZ9BMUzz7K10A4FbEbXq&pullRequest=5894

Check warning on line 33 in test/tap/tests/pgsql-datatype_matrix-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure using this hardcoded IP address is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUtk7K10A4FbEbXR&open=AZ9BMUtk7K10A4FbEbXR&pullRequest=5894

Check warning on line 472 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "strlen" is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXi&open=AZ9BMUzp7K10A4FbEbXi&pullRequest=5894

Check failure on line 321 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXT&open=AZ9BMUzp7K10A4FbEbXT&pullRequest=5894

Check failure on line 491 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

const_cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXn&open=AZ9BMUzp7K10A4FbEbXn&pullRequest=5894

Check failure on line 468 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXY&open=AZ9BMUzp7K10A4FbEbXY&pullRequest=5894

Check warning on line 87 in test/tap/tests/pgsql-server_side_cursors-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "todo" comment.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzz7K10A4FbEbXs&open=AZ9BMUzz7K10A4FbEbXs&pullRequest=5894

Check failure on line 334 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXV&open=AZ9BMUzp7K10A4FbEbXV&pullRequest=5894

Check failure on line 480 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXk&open=AZ9BMUzp7K10A4FbEbXk&pullRequest=5894

Check failure on line 470 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXh&open=AZ9BMUzp7K10A4FbEbXh&pullRequest=5894

Check failure on line 329 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXU&open=AZ9BMUzp7K10A4FbEbXU&pullRequest=5894

Check failure on line 455 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXe&open=AZ9BMUzp7K10A4FbEbXe&pullRequest=5894

Check failure on line 485 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXl&open=AZ9BMUzp7K10A4FbEbXl&pullRequest=5894

Check failure on line 480 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXj&open=AZ9BMUzp7K10A4FbEbXj&pullRequest=5894

Check failure on line 497 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXZ&open=AZ9BMUzp7K10A4FbEbXZ&pullRequest=5894

Check failure on line 374 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure this weak hash algorithm is not used in a sensitive context here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXX&open=AZ9BMUzp7K10A4FbEbXX&pullRequest=5894

Check warning on line 88 in test/tap/tests/pgsql-server_side_cursors-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "todo" comment.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzz7K10A4FbEbXt&open=AZ9BMUzz7K10A4FbEbXt&pullRequest=5894

Check failure on line 450 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXd&open=AZ9BMUzp7K10A4FbEbXd&pullRequest=5894

Check warning on line 85 in test/tap/tests/pgsql-server_side_cursors-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "todo" comment.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzz7K10A4FbEbXr&open=AZ9BMUzz7K10A4FbEbXr&pullRequest=5894

Check failure on line 485 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXm&open=AZ9BMUzp7K10A4FbEbXm&pullRequest=5894

Check warning on line 443 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "strlen" is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXc&open=AZ9BMUzp7K10A4FbEbXc&pullRequest=5894

Check failure on line 336 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXW&open=AZ9BMUzp7K10A4FbEbXW&pullRequest=5894

Check failure on line 460 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

const_cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9BMUzp7K10A4FbEbXf&open=AZ9BMUzp7K10A4FbEbXf&pullRequest=5894