{"schema": "pgtrue.report/1", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978", "published": "2026-10-19T07:30:18Z", "publisher": "PostgresAI", "article": {"title": "PgDog vs. RDS Proxy", "url": "https://pgdog.dev/blog/pgdog-vs-rds-proxy", "date_published": "2026-08-17T00:00:00Z", "author": "Lev Kokotov", "publisher": "PgDog"}, "grade": "B", "axes": [{"axis": "Factual", "summary": "B \u00b7 2 wrong of 10 checked \u00b7 0 caveats"}, {"axis": "Applicable", "summary": "A \u00b7 0 wrong of 3 checked \u00b7 0 caveats"}, {"axis": "Consistent", "summary": "A \u00b7 0 wrong of 10 checked \u00b7 0 caveats"}, {"axis": "Transparent", "summary": "C \u00b7 0 wrong of 3 checked \u00b7 0 caveats \u00b7 reproducibility: C (no versions)"}, {"axis": "Safe", "summary": "A \u00b7 0 wrong of 6 checked \u00b7 0 caveats"}], "findings": [{"anchor": "F1", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F1", "claim": "\u2026PgDog doesn\u2019t pin connections\u2026", "title": "PgDog can pin sessions holding advisory locks", "explanation": "PgDog v0.1.53 can pin connections. check_lock() locks the backend when tracked advisory locks exist. Connection::done() prevents locked connections from returning to the pool. SET replay avoids one pinning trigger, but PgDog does not eliminate pinning generally.", "verdict": "False", "sources": [{"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/frontend/client/query_engine/lock.rs#L7-L11", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/frontend/client/query_engine/lock.rs:7-11"}, {"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/frontend/client/query_engine/lock.rs#L7-L12", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/frontend/client/query_engine/lock.rs:7-12"}, {"url": "https://docs.pgdog.dev/features/connection-pooler/transaction-mode/", "label": "https://docs.pgdog.dev/features/connection-pooler/transaction-mode/"}, {"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/frontend/client/query_engine/lock.rs#L7-L11", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/frontend/client/query_engine/lock.rs:7-11"}, {"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/backend/pool/connection/mod.rs#L425-L435", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/backend/pool/connection/mod.rs:425-435"}]}, {"anchor": "F2", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F2", "claim": "This ensured that Postgres performance was not a factor\u2026", "title": "SELECT 1 does not isolate proxy performance", "explanation": "SELECT 1 still requires PostgreSQL execution. src/backend/tcop/postgres.c:1190 performs analysis and planning in the simple-query path. Line 1274 executes the portal. The pgbench documentation also identifies protocol-dependent server work. The query reduces database work without proving that PostgreSQL performance contributes nothing.", "verdict": "Misleading", "sources": [{"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L1065-L1065", "label": "REL_18_6 \u00b7 src/backend/tcop/postgres.c:1065-1065"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L1274-L1279", "label": "REL_18_6 \u00b7 src/backend/tcop/postgres.c:1274-1279"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L1190-L1194", "label": "REL_18_6 \u00b7 src/backend/tcop/postgres.c:1190-1194"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L1274-L1279", "label": "REL_18_6 \u00b7 src/backend/tcop/postgres.c:1274-1279"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/pgbench.sgml#L567-L570", "label": "REL_18_6 \u00b7 doc/src/sgml/ref/pgbench.sgml:567-570"}]}, {"anchor": "F3", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F3", "claim": "It handles SET automatically by \u201ctransplanting\u201d the session state between Postgres connections.", "title": "PgDog records and replays session parameters", "explanation": "PgDog v0.1.53 records SET values in client parameters. Server::link_client() compares client and backend parameters. It constructs RESET queries and SET queries to synchronize the backend before reuse.", "verdict": "Accurate", "sources": [{"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/backend/server.rs#L706-L716", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/backend/server.rs:706-716"}, {"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/frontend/client/query_engine/set.rs#L29-L35", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/frontend/client/query_engine/set.rs:29-35"}]}, {"anchor": "F4", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F4", "claim": "\u2026to quickly detect common statements, like SET\u2026", "title": "PgDog uses a SET detection shortcut", "explanation": "pgdog/src/frontend/regex_parser.rs:12 includes SET and RESET patterns. use_parser() checks a bounded query prefix with regular expressions. That check determines whether the request enables full parsing.", "verdict": "Accurate", "sources": [{"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/frontend/regex_parser.rs#L12-L14", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/frontend/regex_parser.rs:12-14"}, {"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/frontend/regex_parser.rs#L67-L75", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/frontend/regex_parser.rs:67-75"}]}, {"anchor": "F5", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F5", "claim": "\u2026while sharing just one connection pool.", "title": "PgDog pool clones share synchronized state", "explanation": "PgDog v0.1.53 defines Pool as a cloneable Arc<InnerSync>. InnerSync contains Mutex<Inner>. Pool clones share the same synchronized connection-pool state.", "verdict": "Accurate", "sources": [{"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/backend/pool/pool_impl.rs#L36-L45", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/backend/pool/pool_impl.rs:36-45"}]}, {"anchor": "F6", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F6", "claim": "\u2026multiplexing thousands of app connections with just a handful of Postgres connections.", "title": "Transaction pooling reuses eligible backend connections", "explanation": "PgDog v0.1.53 releases completed backend connections outside session mode when no requests remain. Another client can reuse those connections. Locked backends remain attached. The mechanism permits more client connections than backend connections.", "verdict": "Accurate", "sources": [{"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/frontend/client/query_engine/query.rs#L293-L300", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/frontend/client/query_engine/query.rs:293-300"}, {"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/backend/pool/connection/mod.rs#L425-L435", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/backend/pool/connection/mod.rs:425-435"}]}, {"anchor": "F7", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F7", "claim": "\u2026Connection pinning automatically disables transaction pooling for app connections\u2026", "title": "Pinning prevents backend reuse by other clients", "explanation": "PgDog v0.1.53 implements pinning by locking a backend to its client. Connection::done() returns false while that binding remains locked. The backend cannot return to the shared pool between that client's transactions.", "verdict": "Accurate", "sources": [{"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/pgdog/src/backend/pool/connection/mod.rs#L425-L435", "label": "pgdog@v0.1.53 \u00b7 pgdog/src/backend/pool/connection/mod.rs:425-435"}]}, {"anchor": "F8", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F8", "claim": "PgDog is free and open source\u2026", "title": "PgDog publishes an open source edition", "explanation": "PgDog v0.1.53 includes the GNU Affero General Public License version 3. LICENSE:1\u20132 confirms the license identifier.", "verdict": "Accurate", "sources": [{"url": "https://github.com/pgdogdev/pgdog/blob/f43943b2eb7011623a14c12a20c83e5d7644078b/LICENSE#L1-L2", "label": "pgdog@v0.1.53 \u00b7 LICENSE:1-2"}]}, {"anchor": "F9", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F9", "claim": "\u2026Our Helm chart AWS ECS Terraform module (experimental)\u2026", "title": "PgDog documents Helm and ECS installation options", "explanation": "The installation page documents a Helm chart and an ECS Terraform module. It labels the ECS module a new project. These deployment options remain documented as of October 19, 2026.", "verdict": "Accurate", "sources": [{"url": "https://docs.pgdog.dev/installation/", "label": "https://docs.pgdog.dev/installation/"}]}, {"anchor": "F10", "url": "https://pgtrue.postgres.ai/shared/brief/6cecd4fc-77f6-4cc6-8c5a-2c812ce26978#F10", "claim": "We offer commercial support\u2026", "title": "PgDog advertises commercial support", "explanation": "The enterprise page advertises direct engineer access and SLA-backed support. The commercial support offering remains advertised as of October 19, 2026.", "verdict": "Accurate", "sources": [{"url": "https://pgdog.dev/enterprise", "label": "https://pgdog.dev/enterprise"}]}]}