> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# pg-transaction-on-pool

> A transaction statement is sent to a pool, so its statements can run on different connections.

## What it flags

A standalone transaction-control statement is sent to a typed pool.

## How to review or fix

Use the same checked-out client for the whole transaction and release it in `finally`.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "pg-transaction-on-pool": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.