{"schema": "pgtrue.report/1", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92", "published": "2026-10-19T07:25:14Z", "publisher": "PostgresAI", "article": {"title": "Testing the Connection Pooling in Multigres: What does 100% pass rate mean?", "url": "https://multigres.com/blog/testing-connection-pooling-multigres", "date_published": "2026-09-08T00:00:00Z", "author": "Manan Gupta", "publisher": "Multigres"}, "grade": "A", "axes": [{"axis": "Factual", "summary": "A \u00b7 0 wrong of 11 checked \u00b7 0 wrong \u00b7 0 caveats"}, {"axis": "Applicable", "summary": "A \u00b7 0 wrong of 10 checked \u00b7 0 wrong \u00b7 0 caveats"}, {"axis": "Consistent", "summary": "A \u00b7 0 wrong of 11 checked \u00b7 0 wrong \u00b7 0 caveats"}, {"axis": "Transparent", "summary": "0 wrong \u00b7 0 caveats \u00b7 2 checked"}, {"axis": "Safe", "summary": "not applicable"}], "findings": [{"anchor": "F3", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F3", "claim": "\u2026Multigres does not support creating new languages at this point.", "title": "The gateway rejects CREATE LANGUAGE", "explanation": "Multigres v0.1.0 rejects CREATE LANGUAGE during planning. go/services/multigateway/planner/unsafe_stmt.go:60-62 returns the article's feature-not-supported message.", "verdict": "Accurate", "sources": [{"url": "https://github.com/multigres/multigres/blob/e7b558ad425262a63f9c17a18b90312b68ae9a03/go/services/multigateway/planner/unsafe_stmt.go#L25-L74", "label": "multigres@v0.1.0 \u00b7 go/services/multigateway/planner/unsafe_stmt.go:25-74"}]}, {"anchor": "F4", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F4", "claim": "\u2026the names visible are the internal prepared statement names\u2026", "explanation": "Multigres v0.1.0 generates ppstmt names in pooler_consolidator.go:62-65. PostgreSQL 18.6 exposes current-session prepared statements and scans prepared_queries in prepare.c:701-702. These checks support the described mechanism at those releases. They do not establish the article's exact tested combination.", "verdict": "Accurate", "sources": [{"url": "https://github.com/multigres/multigres/blob/e7b558ad425262a63f9c17a18b90312b68ae9a03/go/common/preparedstatement/pooler_consolidator.go#L58-L65", "label": "multigres@v0.1.0 \u00b7 go/common/preparedstatement/pooler_consolidator.go:58-65"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/system-views.sgml#L2250-L2329", "label": "REL_18_6 \u00b7 doc/src/sgml/system-views.sgml:2250-2329"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/prepare.c#L695-L713", "label": "REL_18_6 \u00b7 src/backend/commands/prepare.c:695-713"}, {"url": "https://github.com/postgres/postgres/blob/7885b94dd81b98bbab9ed878680d156df7bf857f/doc/src/sgml/ref/create_table.sgml#L209-L216", "label": "REL_17_6 \u00b7 doc/src/sgml/ref/create_table.sgml:209-216"}]}, {"anchor": "F5", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F5", "claim": "\u2026RESET enable_seqscan;\u2026", "explanation": "In PostgreSQL 18.6, RESET restores parameter defaults. enable_seqscan affects planning, as doc/src/sgml/config.sgml:5920-5924 explains. costsize.c:357 records disabled sequential-scan paths. This verifies the cited release, not the linked harness's PostgreSQL 17.6 implementation.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L5920-L5924", "label": "REL_18_6 \u00b7 doc/src/sgml/config.sgml:5920-5924"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/optimizer/path/costsize.c#L357-L360", "label": "REL_18_6 \u00b7 src/backend/optimizer/path/costsize.c:357-360"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/reset.sgml#L30-L44", "label": "REL_18_6 \u00b7 doc/src/sgml/ref/reset.sgml:30-44"}, {"url": "https://github.com/postgres/postgres/blob/7885b94dd81b98bbab9ed878680d156df7bf857f/doc/src/sgml/ref/create_table.sgml#L209-L216", "label": "REL_17_6 \u00b7 doc/src/sgml/ref/create_table.sgml:209-216"}]}, {"anchor": "F6", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F6", "claim": "RETURN v_relfilenode <> (SELECT relfilenode FROM pg_class WHERE oid = p_tablename);\u2026", "explanation": "PostgreSQL 18.6's alter_table.sql:1683-1687 saves relfilenode, executes p_ddl, and compares the new value. The article reproduces its RETURN expression. This confirms a matching upstream helper in 18.6 without establishing the article's PostgreSQL 17.6 test revision.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/catalog/pg_class.h#L55-L61", "label": "REL_18_6 \u00b7 src/include/catalog/pg_class.h:55-61"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/test/regress/sql/alter_table.sql#L1670-L1689", "label": "REL_18_6 \u00b7 src/test/regress/sql/alter_table.sql:1670-1689"}, {"url": "https://github.com/postgres/postgres/blob/7885b94dd81b98bbab9ed878680d156df7bf857f/doc/src/sgml/ref/create_table.sgml#L209-L216", "label": "REL_17_6 \u00b7 doc/src/sgml/ref/create_table.sgml:209-216"}]}, {"anchor": "F7", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F7", "claim": "\u2026unlogged data is not replicated\u2026", "title": "Standbys do not receive unlogged table contents", "explanation": "PostgreSQL 17.6 does not replicate unlogged table contents to standby servers. doc/src/sgml/ref/create_table.sgml:212-214 also documents truncation after a crash or unclean shutdown. A failover cannot preserve those contents through standby replication.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/7885b94dd81b98bbab9ed878680d156df7bf857f/doc/src/sgml/ref/create_table.sgml#L209-L216", "label": "REL_17_6 \u00b7 doc/src/sgml/ref/create_table.sgml:209-216"}]}, {"anchor": "F8", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F8", "claim": "That value comes straight from whichever postgres connection ran the NOTIFY statement.", "explanation": "PostgreSQL 18.6 records MyProcPid in async.c:1334 and serializes srcPid at lines 2354-2357. Multigres v0.1.0 passes notif.PID to its notification writer in conn.go:1491. These checks support physical sender PIDs at those releases without establishing the article's tested revision.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/7885b94dd81b98bbab9ed878680d156df7bf857f/doc/src/sgml/ref/create_table.sgml#L209-L216", "label": "REL_17_6 \u00b7 doc/src/sgml/ref/create_table.sgml:209-216"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/async.c#L1334-L1334", "label": "REL_18_6 \u00b7 src/backend/commands/async.c:1334-1334"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/async.c#L2351-L2359", "label": "REL_18_6 \u00b7 src/backend/commands/async.c:2351-2359"}, {"url": "https://github.com/multigres/multigres/blob/e7b558ad425262a63f9c17a18b90312b68ae9a03/go/common/pgprotocol/server/conn.go#L1488-L1493", "label": "multigres@v0.1.0 \u00b7 go/common/pgprotocol/server/conn.go:1488-1493"}]}, {"anchor": "F9", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F9", "claim": "LOAD pulls a shared library into the backend process.", "explanation": "PostgreSQL 18.6 documents LOAD loading a shared library into the server process in doc/src/sgml/ref/load.sgml:32-35. Already-loaded libraries require no additional load. dfmgr.c:160-161 calls internal_load_library. These citations verify 18.6, not the linked harness's PostgreSQL 17.6 baseline.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/7885b94dd81b98bbab9ed878680d156df7bf857f/doc/src/sgml/ref/create_table.sgml#L209-L216", "label": "REL_17_6 \u00b7 doc/src/sgml/ref/create_table.sgml:209-216"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/load.sgml#L30-L40", "label": "REL_18_6 \u00b7 doc/src/sgml/ref/load.sgml:30-40"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/fmgr/dfmgr.c#L147-L170", "label": "REL_18_6 \u00b7 src/backend/utils/fmgr/dfmgr.c:147-170"}]}, {"anchor": "F10", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F10", "claim": "\u2026CREATE UNLOGGED TABLE brintest_unlogged (n numrange);\u2026", "explanation": "The article's four BRIN commands match PostgreSQL 18.6's src/test/regress/expected/brin.out:581-584. This confirms matching upstream SQL in that release. It does not verify the PostgreSQL 17.6 patch or its added warning and hint.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/7885b94dd81b98bbab9ed878680d156df7bf857f/doc/src/sgml/ref/create_table.sgml#L209-L216", "label": "REL_17_6 \u00b7 doc/src/sgml/ref/create_table.sgml:209-216"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/test/regress/expected/brin.out#L581-L584", "label": "REL_18_6 \u00b7 src/test/regress/expected/brin.out:581-584"}]}, {"anchor": "F11", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F11", "claim": "\u2026PostgreSQL login event triggers fire when a new connection is created.", "explanation": "PostgreSQL 17.6 documents login events for authenticated users in doc/src/sgml/event-trigger.sgml:40-41. Separate PostgreSQL 18.6 checks show EventTriggerOnLogin before the command loop and an enabled-trigger reconnection example. The implementation and example checks do not establish the 17.6 baseline.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/7885b94dd81b98bbab9ed878680d156df7bf857f/doc/src/sgml/event-trigger.sgml#L38-L48", "label": "REL_17_6 \u00b7 doc/src/sgml/event-trigger.sgml:38-48"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L4365-L4376", "label": "REL_18_6 \u00b7 src/backend/tcop/postgres.c:4365-4376"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/test/regress/expected/event_trigger_login.out#L9-L20", "label": "REL_18_6 \u00b7 src/test/regress/expected/event_trigger_login.out:9-20"}]}, {"anchor": "F12", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F12", "claim": "\u2026the output of the statements run are recorded into an .out file\u2026", "explanation": "PostgreSQL 18.6 uses results/<test>.out in pg_regress_main.c:53-54 and isolation_main.c:67-68. These citations confirm both output-file patterns at 18.6. They do not check the linked harness's PostgreSQL 17.6 baseline.", "verdict": "Accurate", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/test/isolation/isolation_main.c#L57-L73", "label": "REL_18_6 \u00b7 src/test/isolation/isolation_main.c:57-73"}, {"url": "https://github.com/postgres/postgres/blob/7885b94dd81b98bbab9ed878680d156df7bf857f/doc/src/sgml/ref/create_table.sgml#L209-L216", "label": "REL_17_6 \u00b7 doc/src/sgml/ref/create_table.sgml:209-216"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/test/regress/pg_regress_main.c#L44-L60", "label": "REL_18_6 \u00b7 src/test/regress/pg_regress_main.c:44-60"}]}, {"anchor": "F13", "url": "https://pgtrue.postgres.ai/shared/brief/ae842701-c128-49d3-a00c-a2bc9fe1ad92#F13", "claim": "\u2026keeping the client session to Multigateway separate from Postgres backends.", "title": "Multigateway and multipooler manage separate connection layers", "explanation": "Multigateway accepts client connections. Multipooler manages PostgreSQL backend connections. The cited architecture description confirms both responsibilities.", "verdict": "Accurate", "sources": [{"url": "https://multigres.com/blog/two-jobs-two-processes", "label": "https://multigres.com/blog/two-jobs-two-processes"}]}]}