-
Notifications
You must be signed in to change notification settings - Fork 10
Home
github-actions[bot] edited this page Mar 27, 2026
·
41 revisions
Run Plex Media Server with PostgreSQL instead of SQLite. Zero Plex modifications required.
100% Rust shim runtime. All C runtime code has been eliminated. The shim is now pure Rust, compiled to a single .dylib/.so.
- 712 tests passing across unit, integration, and compatibility suites
- Full Rust runtime: all interpose, column access, step execution, and connection management in Rust
- Module architecture: monolithic files split into focused submodules for maintainability
- Deadlock fixes: recursive connection mutex, reduced lock hold times, lock-free logging fallback
- Stack safety: heap-allocated thread-local buffers for Plex's 544K worker thread stacks
- Duplicate stmt fix: SQLSTATE 42P05 detection, DEALLOCATE ALL at connection init (v0.9.40)
- Stale stmt recovery: prepared statement cache auto-invalidated after PG restart via SQLSTATE 26000 (v0.9.39)
- Pool auto-grow: pool automatically grows when threads exceed configured size (v0.9.36)
- Single-row streaming mode for all READ queries (
PQsetSingleRowMode) (v0.9.28)
- How It Works — Architecture, SQL translation, stack protection
- Modules — Code organization, test suites, caching architecture
- Benchmarks — SQLite vs PostgreSQL performance comparison
- Troubleshooting — Common issues, debugging, known limitations
- Changelog — Release history and bug fixes
- README en Español — Documentación en español