The terminal screen freezes mid-command. You wish you could roll back time, see exactly what happened, and replay every keystroke without guessing. Pgcli Session Replay makes that possible.
Pgcli is a fast, feature-rich command-line tool for PostgreSQL. It delivers autocompletion, syntax highlighting, and minimal friction for database work. Session Replay adds the missing piece: full capture and playback of interactive database sessions. This means every query, every result, every prompt is preserved for later inspection or for others to follow exactly what you did.
With Pgcli Session Replay, debugging is no longer about guesswork. You can identify failed commands, track changes, and reproduce complex sequences with precision. It turns transient terminal history into a durable record you can share, audit, or publish. This is critical for troubleshooting production systems, conducting code reviews, or documenting database migrations.
Setting up Session Replay is straightforward. You run Pgcli with the replay option enabled, execute your commands, and the tool logs each input and output. The log can be replayed in the terminal on demand, recreating the exact timing and flow. You can store these replays in version control alongside your code. They serve as living documentation and proof of what happened in your database.