Paste into your AI assistant to fix the article, then ask for a re-review.
Show the text
Fix the article with this report, then ask pgTrue for a re-review.
# pgTrue report: The Deep End
Article title: The Deep End
Article URL: https://thebuild.com/blog/the-deep-end
Report URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71
Audited revision: 5 of 5, 2026-10-19 07:54:10 UTC
Overall letter: B
## Axes
- Factual: B- · 2 wrong · 16 checked · 0 caveats · assessed
- Applicable: A · 0 wrong · 12 checked · 1 caveats · assessed
- Consistent: A · 0 wrong · 16 checked · 0 caveats · assessed
- Transparent: A · 0 wrong · 10 checked · 0 caveats · assessed
- Safe: A · 0 wrong · 11 checked · 0 caveats · assessed
ElephantSeal: B.
## Report metadata
- Report: Technical fact-check, edition 3
- Issued: 2026-10-19
- Edition: Updated after review. Corrections are listed below.
- Submitted: Submitted by the PostgresAI team.
- Author response: No written reply from the author. We re-audited this article 4 times; see Revisions below. Policy: [right-of-reply and corrections policy](/pgtrue/security).
- pgTrue version: audited with v1.0.14 (approx.) · regraded with v1.1.0 (approx.)
## Findings needing a change (3)
### F2 · Inaccurate · Factual · Unnamed statements do not require replanning on every Bind
Location: excerpt · section “PgDoorman: the other descendant” · as fetched 2026-10-19 · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=PostgreSQL%20re%2Dplans%20on%20every%20Bind)
Article says:
```text
…PostgreSQL re-plans on every Bind…
```
What is true:
Unnamed statements can reuse plans across Bind messages. REL_19_BETA4 src/backend/tcop/postgres.c:1682-1683 retrieves their cached plan source. src/backend/utils/cache/plancache.c:1192-1203 permits generic plans. A new Parse or plan invalidation changes reuse. Statement naming alone does not establish planning cost.
So what:
Measure Parse frequency and generic-plan reuse before replacing PgBouncer with PgDoorman to reduce planning.
Charitable reading:
A driver that sends a new Parse before every execution can cause repeated planning. An unnamed statement alone does not require it.
Review: We tested the repeated-Parse interpretation. It can explain repeated planning, but unnamed statements themselves can reuse plans across Bind messages. We tested the charitable reading that drivers repeatedly send Parse. That can cause replanning. PostgreSQL still allows unnamed statements to reuse generic plans across Bind messages. The finding preserves this distinction.
Sources:
- [REL_19_BETA4 · src/backend/utils/cache/plancache.c:1192-1203](https://github.com/postgres/postgres/blob/b73d13c32c834a2c8e1c60cb92f79530376cedf1/src/backend/utils/cache/plancache.c#L1192-L1203)
Excerpt:
```text
/* Otherwise, never any point in a custom plan if there's no parameters */
if (boundParams == NULL)
return false;
/* ... nor when planning would be a no-op */
if (!StmtPlanRequiresRevalidation(plansource))
return false;
/* Let settings force the decision */
if (plan_cache_mode == PLAN_CACHE_MODE_FORCE_GENERIC_PLAN)
return false;
if (plan_cache_mode == PLAN_CACHE_MODE_FORCE_CUSTOM_PLAN)
return true;
```
- [REL_19_BETA4 · doc/src/sgml/protocol.sgml:1106-1113](https://github.com/postgres/postgres/blob/b73d13c32c834a2c8e1c60cb92f79530376cedf1/doc/src/sgml/protocol.sgml#L1106-L1113)
Excerpt:
```text
Query planning typically occurs when the Bind message is processed.
If the prepared statement has no parameters, or is executed repeatedly,
the server might save the created plan and re-use it during subsequent
Bind messages for the same prepared statement. However, it will do so
only if it finds that a generic plan can be created that is not much
less efficient than a plan that depends on the specific parameter values
supplied. This happens transparently so far as the protocol is concerned.
```
- [REL_19_BETA4 · src/backend/tcop/postgres.c:1682-1683](https://github.com/postgres/postgres/blob/b73d13c32c834a2c8e1c60cb92f79530376cedf1/src/backend/tcop/postgres.c#L1682-L1683)
Excerpt:
```text
/* special-case the unnamed statement */
psrc = unnamed_stmt_psrc;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F2
### F13 · Inaccurate · Factual · Warm serverless instances can reuse clients across invocations
Location: excerpt · section “Pooling at the edge” · as fetched 2026-10-19 · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=Serverless%20functions%20cannot%20hold%20a%20connection%20open%20between%20invocations)
Article says:
```text
…Serverless functions cannot hold a connection open between invocations…
```
What is true:
Serverless instances can reuse database clients across invocations. Supabase's connection guide recommends module-level clients and a pool of 1 connection per warm instance. Instance termination still prevents guaranteed persistence. Recreating clients per request adds avoidable connection setup.
So what:
Reuse a module-level database client on warm serverless instances and size its local pool for instance concurrency.
Charitable reading:
Cold starts and instance termination prevent guaranteed connection persistence. The sentence instead claims persistence between invocations is impossible.
Review: We tested the interpretation that persistence is not guaranteed. The finding preserves that caveat while identifying documented warm-instance reuse. We tested whether 'cannot' meant persistence is not guaranteed. Warm-instance reuse remains a counterexample. The primary guide explicitly recommends sharing a module-level client across invocations.
Sources:
- [https://supabase.com/docs/guides/database/connecting-to-postgres](https://supabase.com/docs/guides/database/connecting-to-postgres)
Excerpt:
```text
In a serverless function:
1. Create the client once at module scope, not per request.
2. Set the pool to 1 connection. The client is shared by every invocation on that warm instance, so this caps the instance, not the request.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F13
### F3 · Imprecise · Applicable · pgagroal can use epoll on Linux
Location: excerpt · section “pgagroal: a process for everyone” · as fetched 2026-10-19 · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=Network%20I%2FO%20goes%20through%20io_uring%20on%20Linux.)
Article says:
```text
Network I/O goes through io_uring on Linux.
```
What is true:
pgagroal 2.1.0 switches from io_uring to epoll when TLS is enabled or kernel policy disables io_uring. src/libpgagroal/configuration.c:885-896 implements that fallback. Linux alone does not determine the I/O backend.
So what:
Profile epoll for TLS-enabled pgagroal deployments and check ev_backend before choosing io_uring-specific tuning.
Charitable reading:
io_uring is an available Linux backend. The article states its use without the TLS and kernel conditions.
Review: We tested whether Linux alone selects io_uring. The 2.1.0 branch explicitly selects epoll for TLS or disabled io_uring. We checked whether Linux guarantees io_uring. The 2.1.0 configuration branch selects epoll for TLS or disabled io_uring. Checking ev_backend before tuning names a concrete action.
Sources:
- [[email protected] · src/libpgagroal/configuration.c:885-896](https://github.com/pgagroal/pgagroal/blob/de62c3e399336ec7933aa953e56cd15132a2409d/src/libpgagroal/configuration.c#L885-L896)
Excerpt:
```text
if (config->common.tls || (rval == '1') || (rval == '2'))
{
if (config->common.tls)
{
pgagroal_log_warn("io_uring not supported with tls on");
}
else
{
pgagroal_log_warn("io_uring supported but not enabled. Enable io_uring by setting /proc/sys/kernel/io_uring_disabled to '0'");
}
fallback:
config->ev_backend = PGAGROAL_EVENT_BACKEND_EPOLL;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F3
## Verified accurate claims (13)
### F5 · Accurate · Factual · Odyssey workers share server connection pools
Location: excerpt · section “Odyssey: PgBouncer, plural” · as fetched 2026-10-19 · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=all%20of%20them%20share%20the%20same%20server%20connection%20pools)
Article says:
```text
…all of them share the same server connection pools…
```
What is true:
Odyssey 1.5.2 README.md:23-27 confirms authentication and proxying across worker threads with shared global server pools. Increasing workers does not create a separate pool per worker.
Charitable reading:
Shared pools do not imply that every database-user pair shares one pool.
Review: We checked whether shared pools meant one universal pool. The finding limits its conclusion to sharing across worker threads. We checked whether shared pools meant one pool for every database and user. The finding makes no such claim. Odyssey 1.5.2 explicitly documents global pools shared across workers.
Sources:
- [[email protected] · README.md:23-27](https://github.com/yandex/odyssey/blob/2cca6bf26c1ba6d1bdce917f96a37bcb26408ffe/README.md#L23-L27)
Excerpt:
```text
Odyssey can significantly scale processing performance by
specifying a number of additional worker threads. Each worker thread is
responsible for authentication and proxying client-to-server and server-to-client
requests. All worker threads are sharing global server connection pools.
Multi-threaded design plays important role in `SSL/TLS` performance.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F5
### F6 · Accurate · Factual · Odyssey enables maintain_params by default
Location: excerpt · section “Odyssey: PgBouncer, plural” · as fetched 2026-10-19 · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=that%20is%20maintain_params%20%2C%20and%20it%20is%20on%20by%20default.)
Article says:
```text
…that is maintain_params , and it is on by default.
```
What is true:
Odyssey 1.5.2 sources/rules.c:548 initializes maintain_params to 1. The article states this default correctly.
Charitable reading:
This verifies the default setting, not preservation of every PostgreSQL session feature.
Review: We checked the initializer directly. It enables maintain_params, and the finding makes no broader session-state guarantee. We checked the initializer rather than inferring the default from examples. Odyssey 1.5.2 sets maintain_params to 1. The finding verifies only that default.
Sources:
- [[email protected] · sources/rules.c:548-548](https://github.com/yandex/odyssey/blob/2cca6bf26c1ba6d1bdce917f96a37bcb26408ffe/sources/rules.c#L548-L548)
Excerpt:
```text
rule->maintain_params = 1;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F6
### F7 · Accurate · Factual · pgagroal defaults to 100 backend connections
Location: excerpt · section “pgagroal: a process for everyone” · as fetched 2026-10-19 · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=max_connections%20defaults%20to%20100.)
Article says:
```text
max_connections defaults to 100.
```
What is true:
pgagroal 2.1.0 src/libpgagroal/configuration.c:203 initializes max_connections to 100. The article gives the correct default.
Charitable reading:
The claim concerns pgagroal's backend connection limit, not PostgreSQL's separate max_connections setting.
Review: We checked for confusion with PostgreSQL's separate setting. The cited pgagroal initializer sets its own max_connections to 100. We checked for confusion with PostgreSQL's separate setting. The cited pgagroal 2.1.0 initializer sets its own max_connections to 100.
Sources:
- [[email protected] · src/libpgagroal/configuration.c:203-203](https://github.com/pgagroal/pgagroal/blob/de62c3e399336ec7933aa953e56cd15132a2409d/src/libpgagroal/configuration.c#L203-L203)
Excerpt:
```text
config->max_connections = 100;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F7
### F8 · Accurate · Factual · PgDoorman defaults to 4 worker threads
Location: excerpt · section “PgDoorman: the other descendant” · as fetched 2026-10-19 · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=worker_threads%20defaults%20to%204)
Article says:
```text
…worker_threads defaults to 4…
```
What is true:
PgDoorman 3.11.0 src/config/general.rs:459-461 returns 4 from default_worker_threads. The article gives the correct default.
Charitable reading:
The default does not prevent operators from configuring another worker count.
Review: We checked the default function rather than a configuration example. PgDoorman v3.11.0 returns 4 worker threads. We checked the version and default function. PgDoorman 3.11.0 returns 4 from default_worker_threads. The finding does not claim operators cannot change it.
Sources:
- [[email protected] · src/config/general.rs:459-461](https://github.com/ozontech/pg_doorman/blob/1f598e41959d9f8221396b6662ac5ebf44949159/src/config/general.rs#L459-L461)
Excerpt:
```text
pub fn default_worker_threads() -> usize {
4
}
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F8
### F9 · Accurate · Factual · PgDoorman selects cleanup commands from mutation flags
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=sends%20RESET%20ALL%20%2C%20DEALLOCATE,the%20connection%20is%20checked%20in.)
Article says:
```text
…sends RESET ALL , DEALLOCATE ALL or CLOSE ALL when the connection is checked in.
```
What is true:
PgDoorman 3.11.0 src/server/server_backend.rs:474-483 conditionally adds RESET ALL, DEALLOCATE ALL, and CLOSE ALL. The article correctly describes cleanup for tracked mutations with cleanup enabled.
Charitable reading:
The surrounding sentence describes mutation-tracked cleanup. It does not require all three commands after every transaction.
Review: We tested whether cleanup was unconditional. The finding correctly limits verification to tracked mutations with cleanup enabled. We tested whether cleanup runs unconditionally. Separate mutation flags select the three commands. The finding already limits its conclusion to tracked mutations with cleanup enabled.
Sources:
- [[email protected] · src/server/server_backend.rs:474-484](https://github.com/ozontech/pg_doorman/blob/1f598e41959d9f8221396b6662ac5ebf44949159/src/server/server_backend.rs#L474-L484)
Excerpt:
```text
if self.cleanup_state.needs_cleanup_set {
reset_string.push_str("RESET ALL;");
};
if self.cleanup_state.needs_cleanup_prepare {
reset_string.push_str("DEALLOCATE ALL;");
};
if self.cleanup_state.needs_cleanup_declare {
reset_string.push_str("CLOSE ALL;");
};
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F9
### F10 · Accurate · Factual · Verified accurate: “…run four behind so_reuseport…”
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=run%20four%20behind%20so_reuseport)
Article says:
```text
…run four behind so_reuseport…
```
What is true:
PgBouncer 1.26.0 doc/config.md:1163-1168 supports multiple processes sharing one TCP listening port on supported operating systems. Each process uses one CPU core. The cited range verifies the article's scaling option.
Review: We checked the cited range for every recommendation. It supports shared ports and additional CPU cores. It does not establish the added peering recommendation. We checked operating-system restrictions and the surrounding cancellation guidance. The finding retains the supported-system qualification.
Sources:
- [pgbouncer@pgbouncer_1_26_0 · doc/config.md:1163-1168](https://github.com/pgbouncer/pgbouncer/blob/7d38761c8f6c757238fde9f942cf9fe0cd272ae3/doc/config.md#L1163-L1168)
Excerpt:
```text
Specifies whether to set the socket option `SO_REUSEPORT` on TCP
listening sockets. On some operating systems, this allows running
multiple PgBouncer instances on the same host listening on the same
port and having the kernel distribute the connections automatically.
This option is a way to get PgBouncer to use more CPU cores.
(PgBouncer is single-threaded and uses one CPU core per instance.)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F10
### F14 · Accurate · Factual · Enabling Cloud SQL pooling restarts an existing instance
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=enabling%20it%20restarts%20the%20database)
Article says:
```text
…enabling it restarts the database…
```
What is true:
Cloud SQL documents a database restart when enabling Managed Connection Pooling on an existing instance. The article's restart warning matches that condition.
Charitable reading:
The table describes enabling pooling on an existing Cloud SQL instance.
Review: We checked whether the restart applies to every configuration change. The finding correctly restricts it to enabling pooling on existing instances. We checked the existing-instance condition. The Cloud SQL page explicitly requires a database restart when enabling pooling on an existing instance. The finding preserves that condition.
Sources:
- [https://docs.cloud.google.com/sql/docs/postgres/managed-connection-pooling](https://docs.cloud.google.com/sql/docs/postgres/managed-connection-pooling)
Excerpt:
```text
Enabling Managed Connection Pooling on an existing instance results
in a database restart.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F14
### F15 · Accurate · Factual · PgBouncer 1.26.0 added login-count statistics
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=PgBouncer%201.26.0%20added%20a%20client_login_count%20statistic)
Article says:
```text
PgBouncer 1.26.0 added a client_login_count statistic…
```
What is true:
PgBouncer 1.26.0 added client_login_count statistics to SHOW STATS. NEWS.md:17 identifies successful client logins and connection churn as their purpose.
Charitable reading:
The article names the statistic family rather than every SHOW STATS output column.
Review: We checked the changelog heading and statistic description. NEWS.md places client_login_count under PgBouncer 1.26.0. We checked the release pin and statistic description. PgBouncer 1.26.0 NEWS.md identifies client_login_count as a new statistic for detecting connection churn.
Sources:
- [pgbouncer@pgbouncer_1_26_0 · NEWS.md:17-17](https://github.com/pgbouncer/pgbouncer/blob/7d38761c8f6c757238fde9f942cf9fe0cd272ae3/NEWS.md#L17-L17)
Excerpt:
```text
* Add `client_login_count` stat to `SHOW STATS`, which counts successful client logins. This makes it possible to detect clients that churn connections. ([#1457])
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F15
### F16 · Accurate · Factual · pgagroal documents transaction-mode session-state persistence
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=nothing%20is%20reset%20between%20clients.)
Article says:
```text
…nothing is reset between clients.
```
What is true:
pgagroal 2.1.0 documents that transaction mode does not issue DISCARD ALL. doc/PIPELINES.md:120-123 confirms that SET, temporary tables, and cursors persist between clients sharing a backend.
Charitable reading:
The warning concerns session state in pgagroal's transaction pipeline.
Review: We checked whether the warning accidentally covered session mode. Both the finding and documentation restrict it to transaction mode. We checked whether the article's warning applied to session mode too. Its paragraph specifies transaction mode. The 2.1.0 documentation confirms that session state is not reset between clients.
Sources:
- [[email protected] · doc/PIPELINES.md:120-123](https://github.com/pgagroal/pgagroal/blob/de62c3e399336ec7933aa953e56cd15132a2409d/doc/PIPELINES.md#L120-L123)
Excerpt:
```text
* `DISCARD ALL` is not issued when a connection is returned to the pool in
transaction mode. Session state such as `SET`, temporary tables and
cursors is not reset between clients sharing the same backend
connection.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F16
### F17 · Accurate · Factual · Postgres Pro Enterprise documents its built-in pooler as deprecated
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=The%20built%2Din%20connection%20pooler%20functionality%20is%20deprecated.)
Article says:
```text
…The built-in connection pooler functionality is deprecated.
```
What is true:
The Enterprise 16 documentation contains the quoted deprecation notice. It recommends the pgbouncer extension or another external tool. The article preserves that distinction.
Charitable reading:
The article attributes the deprecation statement to Postgres Pro Enterprise documentation.
Review: We checked the distinction between the built-in pooler and the pgbouncer extension. The Enterprise 16 notice preserves that distinction. We checked product attribution and exact wording. The Enterprise 16 page contains the deprecation notice and recommends the pgbouncer extension or another external tool.
Sources:
- [https://postgrespro.com/docs/enterprise/16/connection-pooling.html](https://postgrespro.com/docs/enterprise/16/connection-pooling.html)
Excerpt:
```text
The built-in connection pooler functionality is deprecated. Use the pgbouncer extension or another external tool instead.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F17
### F19 · Accurate · Factual · Supavisor's advertised capacities match README.md
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=The%20README%20claims%20a%20million,connections%20on%20one%2016%2Dcore%20node.)
Article says:
```text
The README claims a million connections on a cluster and 250,000 idle connections on one 16-core node.
```
What is true:
README.md:90–91 advertises 1 million cluster connections and 250,000 idle connections on one 16-core node. The node specification also includes 64 GB RAM.
Charitable reading:
The article attributes both capacities to the README rather than presenting independently measured limits.
Review: We checked attribution versus measured capacity. The finding verifies advertised numbers and includes the omitted 64 GB RAM specification. We checked whether this finding treats advertised capacities as independently measured limits. It verifies attribution only. The README gives both counts and the additional 64 GB RAM specification.
Sources:
- [[email protected] · README.md:90-91](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/README.md#L90-L91)
Excerpt:
```text
- 1 million Postgres connections on a cluster
- 250_000 idle connections on a single 16 core node with 64GB of ram
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F19
### F20 · Accurate · Factual · The 90% throughput quotation matches README.md
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=The%20README%20puts%20throughput%20%E2%80%9Cwithin%2090%25%E2%80%9D%20of%20PgBouncer%E2%80%99s)
Article says:
```text
The README puts throughput “within 90%” of PgBouncer’s…
```
What is true:
Supavisor v2.9.13 README.md:88 uses the quoted 90% wording for a local pgbench comparison.
Charitable reading:
The article quotes the README's 90% wording rather than deriving a throughput ratio.
Review: We tested whether the finding converts ambiguous 90% wording into a measured ratio. It verifies only the README attribution. We checked whether ambiguous 'within 90%' wording became a precise throughput ratio. The finding verifies the README wording only and preserves the local pgbench condition.
Sources:
- [[email protected] · README.md:88-88](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/README.md#L88-L88)
Excerpt:
```text
- Within 90% throughput as compared to `PgBouncer` running `pgbench` locally
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F20
### F21 · Accurate · Factual · Neon documents 10,000 pooled client connections
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=PgBouncer%2C%20up%20to%2010%2C000%20client%20connections)
Article says:
```text
…PgBouncer, up to 10,000 client connections…
```
What is true:
Neon's connection guide identifies PgBouncer and documents up to 10,000 concurrent pooled client connections.
Charitable reading:
The 10,000 limit describes client connections through pooling, rather than PostgreSQL backend connections.
Review: We checked client connections versus backend connections. The guide explicitly identifies 10,000 concurrent pooled client connections. We checked whether 10,000 meant backend connections. The primary page explicitly names concurrent client connections through PgBouncer. The finding preserves that distinction.
Sources:
- [https://neon.com/docs/connect/choose-connection](https://neon.com/docs/connect/choose-connection)
Excerpt:
```text
A **pooled connection** routes traffic through PgBouncer, which manages a pool of reusable Postgres connections. Use pooled connections by default. They handle up to 10,000 concurrent client connections and work well for serverless apps and high-concurrency workloads.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F21
## Notes (not graded) (4)
### F1 · Note · · Note: “…the number of backend connections is exactly default_pool_size…”
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=the%20number%20of%20backend%20connections%20is%20exactly%20default_pool_size)
Article says:
```text
…the number of backend connections is exactly default_pool_size…
```
What is true:
The article repeats Supavisor v2.9.13 docs/faq.md:29-31. That FAQ promises default_pool_size connections per tenant. The code distinguishes pool identities and permits user overrides. Size backend demand across those identities rather than treating the FAQ's count as unconditional.
So what:
Size PostgreSQL connections across distinct Supavisor pool identities and user overrides instead of treating default_pool_size as the tenant total.
Explanation: Not graded: no reader would act differently on it.
Review: E-33 repeats the article's connection-count claim in Supavisor's own FAQ. The technical caveat stands, but fairness requires a note. We checked whether the article follows official documentation. Supavisor's FAQ states the same connection-count guarantee. The code supports the qualification, but the article deserves a fairness note.
Sources:
- [[email protected] · lib/supavisor.ex:23-31](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/lib/supavisor.ex#L23-L31)
Excerpt:
```text
Record.defrecord(:id, [
:type,
:tenant,
:user,
:mode,
:db,
:search_path,
upstream_tls: false
])
```
- [[email protected] · lib/supavisor/manager.ex:200-201](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/lib/supavisor/manager.ex#L200-L201)
Excerpt:
```text
user_config = List.first(tenant_record.users)
pool_size = (user_config && user_config.pool_size) || default_pool_size
```
- [[email protected] · docs/configuration/users.md:20-21](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/docs/configuration/users.md#L20-L21)
Excerpt:
```text
`pool_size` - the database connection pool size used to override
`default_pool_size` on the `tenant`
```
- [[email protected] · docs/faq.md:29-31](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/docs/faq.md#L29-L31)
Excerpt:
```text
By running one pool on one node in a cluster for a tenant we can guarantee that
the amount of connections to the database will be the `default_pool_size` set on
the tenant.
```
- [[email protected] · lib/supavisor/tenant_supervisor.ex:71-76](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/lib/supavisor/tenant_supervisor.ex#L71-L76)
Excerpt:
```text
defp pool_spec(id, replica_type, min_size, pool_size) do
[
name: {:via, Registry, {Supavisor.Registry.Tenants, id, replica_type}},
worker_module: Supavisor.DbHandler,
size: min_size,
max_overflow: pool_size,
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F1
### F4 · Note · · A new LISTEN registration takes effect at commit
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=LISTEN%20only%20works%20inside%20a%20transaction.)
Article says:
```text
LISTEN only works inside a transaction.
```
What is true:
A newly issued LISTEN takes effect at commit, after transaction pooling releases its backend. REL_19_BETA4 doc/src/sgml/ref/listen.sgml:87 states the timing. The article follows PgDoorman 3.11.0 documentation. Use session mode for notification consumers.
So what:
Use session pooling for LISTEN notification consumers.
Charitable reading:
The article follows PgDoorman 3.11.0 documentation. NOTIFY can execute inside a transaction, but a new LISTEN registration activates at commit.
Explanation: Not graded: no reader would act differently on it.
Review: We checked the distinction between issuing LISTEN and activating its registration. The note correctly preserves the documentation attribution. We checked whether the article repeats PgDoorman documentation. It does. PostgreSQL documents registration at commit. The existing note preserves both facts and avoids an unfair graded charge.
Sources:
- [REL_19_BETA4 · doc/src/sgml/ref/listen.sgml:87-90](https://github.com/postgres/postgres/blob/b73d13c32c834a2c8e1c60cb92f79530376cedf1/doc/src/sgml/ref/listen.sgml#L87-L90)
Excerpt:
```text
<command>LISTEN</command> takes effect at transaction commit.
If <command>LISTEN</command> or <command>UNLISTEN</command> is executed
within a transaction that later rolls back, the set of notification
channels being listened to is unchanged.
```
- [[email protected] · documentation/en/src/concepts/pool-modes.md:24-24](https://github.com/ozontech/pg_doorman/blob/1f598e41959d9f8221396b6662ac5ebf44949159/documentation/en/src/concepts/pool-modes.md#L24-L24)
Excerpt:
```text
- `LISTEN` / `NOTIFY` — but only inside a transaction. A `LISTEN` issued and then committed releases the backend, and any notifications delivered to it after that go to whichever client checks it out next, not to the original `LISTEN`-er. PgBouncer behaves the same way; if you need cross-transaction `LISTEN`, use session mode for that client.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F4
### F12 · Note · · Note: “Configuration is not a file.”
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=Configuration%20is%20not%20a%20file.)
Article says:
```text
Configuration is not a file.
```
What is true:
ProxySQL v4.0.11 README.md:307 documents configuration files as a secondary interface. The article discusses 3.0.11. This citation alone does not establish a wrong-at-publication error for that release.
So what:
Consider a ProxySQL configuration file for initial deployment instead of requiring SQL-based bootstrap.
Explanation: Not graded: no reader would act differently on it.
Review: E-34 verifies file configuration in 4.0.11, not the article's 3.0.11. The proposed action also says only to consider files. We checked the source version and materiality. E-34 names v4.0.11, while the article discusses 3.0.11. 'Consider a configuration file' also fails to name a definite changed action.
Sources:
- [[email protected] · README.md:307-307](https://github.com/sysown/proxysql/blob/7c91137a465454dfc1a62b56f8c188c1ce59c130/README.md#L307-L307)
Excerpt:
```text
As a secondary way to configure it, we have the configuration file.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F12
### F18 · Note · · Note: “…the number of backend connections is exactly default_pool_size , with no arithmetic…”
Location: Article · exact quote · [open in article](https://thebuild.com/blog/the-deep-end#:~:text=the%20number%20of%20backend%20connections,with%20no%20arithmetic%20across%20nodes.)
Article says:
```text
…the number of backend connections is exactly default_pool_size , with no arithmetic across nodes.
```
What is true:
Supavisor v2.9.13 docs/faq.md:29-31 makes the same connection-count promise as the article. Pool identities and user overrides qualify that promise. This is the same documentation caveat as F1, not a second independent error.
So what:
Budget backend connections across distinct users, modes, databases, and search paths. Include each user's pool_size override.
Explanation: Not graded: no reader would act differently on it.
Review: F18 duplicates F1. E-33 confirms the article repeats the project's FAQ, so the same fairness caveat applies. We checked the official FAQ as a defense of the article. It gives the same guarantee. This duplicates F1 and requires the same fairness qualification.
Sources:
- [[email protected] · docs/faq.md:29-31](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/docs/faq.md#L29-L31)
Excerpt:
```text
By running one pool on one node in a cluster for a tenant we can guarantee that
the amount of connections to the database will be the `default_pool_size` set on
the tenant.
```
- [[email protected] · lib/supavisor.ex:23-32](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/lib/supavisor.ex#L23-L32)
Excerpt:
```text
Record.defrecord(:id, [
:type,
:tenant,
:user,
:mode,
:db,
:search_path,
upstream_tls: false
])
```
- [[email protected] · lib/supavisor/tenant_supervisor.ex:11-14](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/lib/supavisor/tenant_supervisor.ex#L11-L14)
Excerpt:
```text
def start_link(args) do
meta = Supavisor.get_local_server(args.id)
name = {:via, :syn, {:tenants, args.id, meta}}
Supervisor.start_link(__MODULE__, args, name: name)
```
- [[email protected] · lib/supavisor.ex:386-386](https://github.com/supabase/supavisor/blob/5a51fbfadaa6d6286c1fee0a95d4c629e81a2750/lib/supavisor.ex#L386-L386)
Excerpt:
```text
if(first_user, do: first_user.pool_size, else: tenant.default_pool_size)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71#F18
## Withdrawn findings (0)
None.
## Section checks
- Odyssey · A · 2 verified-accurate · 56% of claims (13 of 23) provisional
- pgagroal · A · 1 imprecise · 2 verified-accurate · 47% of claims (8 of 17) provisional
- Supavisor · A · 2 verified-accurate · 57% of claims (8 of 14, plus 1 that need data we do not have) provisional
- PgDoorman · B+ · 1 inaccuracy · 2 verified-accurate · 31% of claims (6 of 19) provisional
- ProxySQL · A · none · 17% of claims (3 of 17, plus 2 that need data we do not have) provisional
- Managed services · A · 2 verified-accurate · 83% of claims (15 of 18, plus 1 that need data we do not have)
- Edge pooling · B+ · 1 inaccuracy · 1 checked · 3 need data we do not have
- Application pools · A · 1 verified-accurate · 33% of claims (4 of 12, plus 7 that need data we do not have) provisional
- Emerging and built-in poolers · A · 1 verified-accurate · 66% of claims (6 of 9, plus 1 that need data we do not have)
- Recommendations · A · 1 verified-accurate · 50% of claims (1 of 2, plus 2 that need data we do not have) provisional
## Claim coverage
- Introduction: 3 of 3 Postgres claims checked; not counted: 3 not a claim
- Odyssey: 13 of 23 Postgres claims checked; not counted: 10 product or opinion, 1 not a claim; not checked: 10 for other reasons
- pgagroal: 8 of 17 Postgres claims checked; not counted: 8 product or opinion, 1 duplicate, 1 not a claim; not checked: 9 for other reasons
- Supavisor: 8 of 14 Postgres claims checked, plus 1 that need data we do not have; not counted: 10 product or opinion, 1 not a claim; not checked: 6 for other reasons
- PgDoorman: 6 of 19 Postgres claims checked; not counted: 13 product or opinion, 1 duplicate, 2 not a claim; not checked: 13 for other reasons
- ProxySQL: 3 of 17 Postgres claims checked, plus 2 that need data we do not have; not counted: 7 product or opinion, 2 duplicate, 1 not a claim; not checked: 14 for other reasons
- Managed services: 15 of 18 Postgres claims checked, plus 1 that need data we do not have; not counted: 6 product or opinion, 1 duplicate, 3 not a claim; not checked: 3 for other reasons
- Edge pooling: 1 checked, plus 3 that need data we do not have; not counted: 7 product or opinion, 1 not a claim
- Application pools: 4 of 12 Postgres claims checked, plus 7 that need data we do not have; not counted: 4 product or opinion, 1 not a claim; not checked: 8 for other reasons
- Emerging and built-in poolers: 6 of 9 Postgres claims checked, plus 1 that need data we do not have; not counted: 8 product or opinion, 2 not a claim; not checked: 3 for other reasons
- Scorecard: 1 of 2 Postgres claims checked; not counted: 27 duplicate, 1 not a claim; not checked: 1 for other reasons
- Recommendations: 1 of 2 Postgres claims checked, plus 2 that need data we do not have; not counted: 7 product or opinion, 3 duplicate, 2 not a claim; not checked: 1 for other reasons
## What we did not check
- We did not finish checking ProxySQL's savepoint restoration, configuration persistence, or read/write routing.
- We did not verify application-driver pooling implementations or Hyperdrive's connection reset mechanism.
- We did not finish checking Supavisor's minimum deployment requirements or pool-owner placement.
- We did not verify every managed service's failover behavior or PgBouncer 1.25.2's parameter defaults.
- We did not reproduce the connection counts or throughput measurements.
- We did not verify every pooler's release date, current version, or changes after October 6, 2026.
- We did not check every pooler's session-state handling, authentication method, or failover implementation.
- We did not verify Hyperdrive's transaction mode or named prepared-statement support.
- We did not verify RDS Proxy's response to DISCARD ALL.
- We did not reproduce Supavisor's advertised connection capacities or throughput measurements.
- Section “Odyssey”: we checked 13 of 23 checkable claims.
- Section “pgagroal”: we checked 8 of 17 checkable claims.
- Section “Supavisor”: we checked 8 of 15 checkable claims.
- Section “PgDoorman”: we checked 6 of 19 checkable claims.
- Section “ProxySQL”: we checked 3 of 19 checkable claims.
- Section “Application pools”: we checked 4 of 19 checkable claims.
- Section “Recommendations”: we checked 1 of 4 checkable claims.
- Section “Scorecard”: we checked 1 of 2 checkable claims.
- We could not decide whether the article contains a material benchmark.
- We could not decide whether the evidence backs the central claim.
- We could not decide whether the article depends on finding F13.
## Notes
- B — the findings address the article's main subject. What we did not check is listed below. The findings directly check pool architecture, session behavior, connection sizing, and deployment choices across the article’s main comparison.
- We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.
- Average of 5 axes: 3.74 · worst of factual, consistent: B− · result B
- Some explanatory text is not shown in this edition; the grade and findings are complete.
- Some checks did not happen for this edition, and each one we know of is listed above.
- Checked against: github.com/postgres/postgres REL_19_BETA4 at commit b73d13c32c834a2c8e1c60cb92f79530376cedf1 (pinned target); github.com/pgbouncer/pgbouncer pgbouncer_1_26_0 at commit 7d38761c8f6c757238fde9f942cf9fe0cd272ae3 (pinned target); github.com/ozontech/pg_doorman v3.11.0 at commit 1f598e41959d9f8221396b6662ac5ebf44949159 (pinned target); github.com/sysown/proxysql v4.0.11 at commit 7c91137a465454dfc1a62b56f8c188c1ce59c130 (pinned target); github.com/yandex/odyssey v1.5.2 at commit 2cca6bf26c1ba6d1bdce917f96a37bcb26408ffe (pinned target); github.com/supabase/supavisor v2.9.13 at commit 5a51fbfadaa6d6286c1fee0a95d4c629e81a2750 (pinned target); github.com/pgagroal/pgagroal 2.1.0 at commit de62c3e399336ec7933aa953e56cd15132a2409d (pinned target); github.com/patroni/patroni v4.1.5 at commit 235fdb3990513c7852da8dc51e9cb92b6d0e4907 (pinned target); github.com/pgdogdev/pgdog v0.1.60 at commit 0d040f925a8ca9961741fa47d058a49ae066bdf1 (pinned target); github.com/multigres/multigres v0.1.0 at commit e7b558ad425262a63f9c17a18b90312b68ae9a03 (pinned target); https://cloud.google.com/blog/products/databases/alloydb-managed-connection-pooling (fetched 2026-10-19T07:54:53.289924Z); https://developers.cloudflare.com/hyperdrive/ (fetched 2026-10-19T07:54:56.938672Z); https://docs.cloud.google.com/sql/docs/postgres/managed-connection-pooling (fetched 2026-10-19T07:54:48.817638Z); https://learn.microsoft.com/en-us/azure/postgresql/connectivity/concepts-pgbouncer (fetched 2026-10-19T07:54:46.923554Z); https://neon.com/docs/connect/choose-connection (fetched 2026-10-19T07:54:54.589491Z); https://pgexperts.com/ (fetched 2026-10-19T07:55:06.231426Z); https://postgrespro.com/docs/enterprise/16/connection-pooling.html (fetched 2026-10-19T07:55:05.292940Z); https://supabase.com/blog/multigres-v0-1-alpha (fetched 2026-10-19T07:55:00.956041Z); https://supabase.com/docs/guides/database/connecting-to-postgres (fetched 2026-10-19T07:54:55.852583Z); https://thebuild.com/blog/category/postgresql/ (fetched 2026-10-19T07:54:35.631498Z); https://thebuild.com/blog/everyone-into-the-pool/ (fetched 2026-10-19T07:54:36.927685Z); https://www.postgresql.org/message-id/[email protected] (fetched 2026-10-19T07:55:02.345078Z); https://www.prisma.io/docs/accelerate/compare (fetched 2026-10-19T07:54:58.501583Z).
- Article captured 2026-10-19T07:54:10.533473Z · SHA-256 d1a2454f72012b93124fa95316195d757a28fdcd28d72725fb369ce88aaeac04 · Text extracted from the article's HTML.
- Policy SHA-256 638d0d4561a33e6d1854e1d81b0628cd745f49226bcb3dccfe23d962ca9e3f3e · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- The extracted article names no author.
- The article gives October 6, 2026, without a time. We list midnight UTC.
- We did not reproduce connection-capacity or throughput measurements. We checked Supavisor’s advertised figures against its README.
- We did not verify every pooler’s release history, authentication methods, or failover implementation.
- We did not finish checking ProxySQL’s savepoint restoration, configuration persistence, or read/write routing.
- We did not verify application-driver pooling implementations or Hyperdrive’s transaction behavior, connection resets, and prepared-statement support.
- We did not finish checking Supavisor’s minimum deployment requirements or pool-owner placement.
- We did not verify every managed service’s failover behavior, PgBouncer 1.25.2’s parameter defaults, or RDS Proxy’s response to DISCARD ALL.
- article target version: bound to the most-cited major; also named 19 (1×), 18 (1×)
- source: postgres 19 had no release when the article was published, so it was read at REL_19_BETA4, its newest prerelease by then
- source: the article names no pg-doorman release, so it was read at v3.11.0, the latest release when it was published
- source: the article names no proxysql release, so it was read at v4.0.11, the latest release when it was published
- source: the article names no odyssey release, so it was read at v1.5.2, the latest release when it was published
- source: the article names no supavisor release, so it was read at v2.9.13, the latest release when it was published
- source: the article names no pgagroal release, so it was read at 2.1.0, the latest release when it was published
- source: the article names no patroni release, so it was read at v4.1.5, the latest release when it was published
- source: the article names no pgdog release, so it was read at v0.1.60, the latest release when it was published
- source: the article names no multigres release, so it was read at v0.1.0, the latest release when it was published
- 6 fetched pages are not listed above, because our policy does not allow linking them.
- review: the findings were written by one model and reviewed independently by a different model.
- 2026-10-27: Regraded under the current grading rules: the letter is the average of the axis letters, with every cap stated under it.
- 3 passages in this edition fell short of our own plain-English rules.
- Built from the article text captured above, 10 pinned source trees, and 13 fetched pages.
- 16 survived · 4 weakened · 0 withdrawn.
## Revision history
- [Revision 1](https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71?v=1) · Not assessed · audit version not recorded
Details unavailable.
ElephantSeal: Not assessed.
- [Revision 2](https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71?v=3) · Not assessed · audit version not recorded
Details unavailable.
ElephantSeal: Not assessed.
- [Revision 3](https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71?v=5) · Not assessed · audit version not recorded
Details unavailable.
ElephantSeal: Not assessed.
- [Revision 4](https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71?v=23) · 2026-10-11 09:33 UTC · C · audit version not recorded · regrade version not recorded
Same article text, re-audited. 11 accurate · 4 wrong · 3 caveats.
ElephantSeal: C.
Changes: Details unavailable.
- [Revision 5](https://pgtrue.postgres.ai/shared/brief/570e8fcc-c932-449e-996f-d78093c9bc71?v=29) · this page · 2026-10-19 07:54 UTC · B · audited with v1.0.14 (approx.) · regraded with v1.1.0 (approx.)
Same article text, re-audited. 13 accurate · 2 wrong · 1 caveat.
ElephantSeal: B.
Changes: No longer reported: “Supavisor default_pool_size is not an exact tenant-wide backend count”; “PgDoorman does not clear all session state”; “…PostgreSQL re-plans on every Bind…”; “…Serverless functions cannot hold a connection open between invocations…”; “It runs on Linux, on x86, and nowhere else.”; “Configuration is not a file.”. New: F2 “Unnamed statements do not require replanning on every Bind” (false); F13 “Warm serverless instances can reuse clients across invocations” (false).