Repository navigation
test(orm): cover synchronous CRUD on real PostgreSQL - #107
Merged
Merged
Conversation
Add orm_pgsql_func with the same exit-3 URL contract, exclude it when libpq is not compiled, and run it alongside the MySQL ORM test in the Ubuntu db-servers job. Document that MySQL and PostgreSQL synchronous CRUD are covered; ORM transactions, async and ODBC remain unverified.
Owner
Author
|
Local review before merge: 24/24 checks against a real PostgreSQL 16.15 server, target is absent when libpq is not compiled, URL-less run is ctest-Skipped, strict C++11 compiles clean, and docs/CI gates pass. ORM transactions/async and ODBC are explicitly not claimed. |
This was referenced Nov 27, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #93. Parent: #88. Follow-up to #106.
What changed
tests/functional/orm_pgsql_func.cpp: real PostgreSQL synchronous ORM CRUD —BIGSERIALid, point lookup,nullablereset, UPDATE,find_all+ total, COUNT, DELETE, unique-key error, find-after-delete =NOT_FOUND.UVCPP_ORM_TEST_PGSQL_URL, falling back toUVCPP_DB_TEST_PGSQL_URL; no URL → exit 3 (Skipped),UVCPP_DB_TEST_REQUIRE=1→ exit 1.db-serversjob now requirestest_orm_pgsql_funcregistration and runs it against the existing PostgreSQL 16 service, next to the MySQL ORM test.doc/ci-guide.mdanddoc/orm-guide.mdnow mark MySQL and PostgreSQL synchronous ORM CRUD as real-database-tested; ORM transactions/async/ODBC remain unverified.Verification
Real PostgreSQL 16.15, unprivileged temporary cluster on
127.0.0.1:55432:ctest with URL:
ctest without URL:
Strict C++11:
Docs/CI gates:
Unverified