Postgres CLI with autocompletion and syntax highlighting
Repo dbcli/pgcli, read from GitHub 5 min ago. dbcli has not joined Take My Repo.
pgcli --version for version 4.7.0.single-command to run a SQL command and exit.
-c or --command.-f, and can be combined with -f:-y or --yes.-t/--tuples-only command line option that prints the rows and\T-f or --file.\watch only\watch re-runs the statementEXPLAIN (...) and sent to the server as SQL, includingexit/quit, so \q, \d,\i, named queries and \G all failed with syntax error at or near "\" and there was no way to leave explain mode or quit. Special commands-l/--list and --ping discarding the connection string. Thepostgres, whichkey=value conninfo (host, user, port,sslmode, everything) and silently fell back to a local socket connectionpostgres.