What dbcli/pgcli shipped
Generated by FoxPlug from public activity — not affiliated with Pgcli.
Week of September 14, 2026
What shipped
- Released version 4.7.1 to fix the version number display in pgcli --version. Release
- Released version 4.7.0 with support for running SQL commands directly from the command line using -c or --command options, which can be specified multiple times and combined with -f. Release
- Fixed destructive command detection to use sqlparse instead of whitespace splitting, preventing false negatives when string literals contain the word 'where'. Pull request #1614
- Marked test_execute_statements_does_not_split_inside_literals with @dbtest decorator so it skips when no local postgres database is available. Pull request #1643
Why it matters
Version 4.7.0 brings new command-line functionality for running SQL statements directly, and 4.7.1 fixes a reporting bug. A critical fix improves the safety of destructive command warnings by using proper SQL parsing instead of text splitting.
Changelog entry
- 4.7.1: Fixed version number display in pgcli --version Release
- 4.7.0: Added -c/--command options to run SQL commands directly from command line Release
- Fixed destructive command detection to use sqlparse instead of whitespace splitting Pull request #1614
Post for X
pgcli 4.7.1 is out, fixing the version display. 4.7.0 added -c/--command support for running SQL from the CLI, plus improved destructive command detection.
Post for LinkedIn
pgcli 4.7.1 is released with a bug fix for version reporting. The 4.7.0 release brought command-line support for executing SQL statements with -c/--command options, and improved safety checks for destructive commands by switching to proper SQL parsing for detection.