pgcli
pgcli copied to clipboard
Postgres CLI with autocompletion and syntax highlighting
## Description Is it possible to apply syntax highlighting to the function definitions returned by `\sf `? ## Your environment Postgres - Ubuntu 24.04 - pgcli 4.1.0
## Description Running pgcli on macOS with Python 3.13.0 runs a bouncing icon in the Dock for the entire duration of the session (until you exit pgcli). It seems the...
## Summary This PR implements automatic daily log rotation and improves the default log location for pgcli. ## Changes ### 1. Daily Log Rotation - Implements automatic log rotation at...
## Summary This PR enables PostgreSQL's `.pgpass` file to work seamlessly with SSH tunnel connections. Previously, when using `--ssh-tunnel`, the `.pgpass` file was not consulted because pgcli was connecting to...
## Summary This PR implements the `-t`/`--tuples-only` option, similar to psql's `-t` flag, which prints query results without status messages or timing information. This is useful for scripting and piping...
## Summary This PR adds support for the `-y`/`--yes` option to pgcli, allowing users to bypass destructive command confirmation prompts. This is particularly useful for automated scripts and CI/CD pipelines....
## Description Keys in keychain are overwritten when same user/host is used (this happens a lot when you proxy over ssh where the host is always localhost and username pretty...
## Summary This PR adds support for the `-f`/`--file` option to pgcli, implementing psql-compatible behavior for executing SQL commands from files. ## Features - **Single file execution**: `pgcli -f file.sql`...
## Summary This PR adds support for the `-c`/`--command` option to pgcli, implementing psql-compatible behavior for executing SQL commands or internal commands from the command line. This is PR #1530,...
## Description Fixes #1528 ## Checklist - [ ] I've added this contribution to the `changelog.rst`. - [ ] I've added my name to the `AUTHORS` file (or it's already...