Skip to content

Commit fd79ee4

Browse files
committed
Add missing doc
1 parent 7b59651 commit fd79ee4

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

docs/configuration/pgdog.toml/general.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,23 @@ Default: **`50_000`**
393393

394394
### `query_parser_enabled`
395395

396+
!!! warning "Deprecated setting"
397+
This setting is deprecated. Use [`query_parser`](#query_parser) instead.
398+
396399
Force-enable query parsing to take advantage of its features in non-sharded databases, like [advisory locks](../../features/transaction-mode.md#advisory-locks) or managing [session state](../../features/transaction-mode.md#session-state).
397400

401+
### `query_parser`
402+
403+
Toggle the query parser to enable/disable query parsing and all of its benefits. By default, the query parser is turned on automatically, so only disable it if you know what you're doing.
404+
405+
Available options:
406+
407+
- `on` (enabled)
408+
- `off` (disabled)
409+
- `auto` (automatically enabled or disabled, depending on database configuration)
410+
411+
Default: **`auto`**
412+
398413
## Logging
399414

400415
### `log_connections`

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,4 @@ plugins:
6666
'features/healthchecks.md': 'features/load-balancer/healthchecks.md'
6767
'features/sharding/migrations.md': 'features/sharding/schema_management/migrations.md'
6868
'features/sharding/primary-keys.md': 'features/sharding/schema_management/primary_keys.md'
69+
'features/sharding/cross-shard/index.md': 'features/sharding/cross-shard-queries/index.md'

0 commit comments

Comments
 (0)