drizzle-team / drizzle-team/drizzle-orm

PostgresError: pg_stat_statements must be loaded via shared_preload_libraries

Open
#3,319 2 comments 0 reactions 0 assignees View on GitHub
bug drizzle/studio
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

getting this issue when opening the studio

```PostgresError: pg_stat_statements must be loaded via shared_preload_libraries
severity_local: 'ERROR',
severity: 'ERROR',
code: '55000',
file: 'pg_stat_statements.c',
line: '1874',
routine: 'pg_stat_statements_info'```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported error when opening the Studio and investigate how pg_stat_statements relates to shared_preload_libraries. The report names no files or tests and does not define the expected fix, so clarify the supported PostgreSQL configuration and desired Studio behavior before identifying the code location and verification steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.