pgcli
pgcli copied to clipboard
Postgres CLI with autocompletion and syntax highlighting
## Description I am trying to create named queries with parameter aggregation, but I get `syntax error at or near "$"` errors. I tested with the queries from [the manual](https://www.pgcli.com/named_queries.md),...
## Description `\ev schema.my_view` produces `CREATE OR REPLACE VIEW "schema.my_view"`. It *should* produce `... VIEW "schema"."my_view"`, I think (with quotes enclosing "schema" and "my_view" separately). The effect or this had...
Hi, as I'm not affiliated with either projects I just wanted to make sure if it's ok to add pgcli as a 1Password shell plugin (or at least try to...
Hi! First of all, thanks for an amazing tool that helps a lot! I have a small question: Are there any ways to change default key bindings, or assign new...
## Description In psql, `\d+` shows options of a table. In pgcli, it didn't. **pgcli:** **psql:** ## Your environment ``` $ zsh --version zsh 5.8.1 (x86_64-ubuntu-linux-gnu) $ omz version master...
## Description I work with a table that has a column named **type** If I write a query like: SELECT type, name, id FROM table; Then after typing the column...
## Description When launching pgcli, I get the following error: ``` Exception in thread completion_refresh: Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line...
## Description It'd be nice if I could set a default format for timestamp columns. For example, rather than seeing `2023-04-27 15:16:38.125568+00`, I'd prefer to see `2023-04-27 15:16:38` (or maybe...
The `psql` command supports using a `PSQL_EDITOR` environment variable in place of `EDITOR`. This is useful if you want to use a specific editor for SQL that differs from your...
## Description If a transaction is manually started (`begin transaction;`) then an attempt to edit a postgres function or stored procedure is made via `\ef function_name`, pgcli will crash. Expected...