diff options
| author | J Smith <dark.panda@gmail.com> | 2017-08-28 11:49:04 -0300 |
|---|---|---|
| committer | J Smith <dark.panda@gmail.com> | 2017-08-28 11:49:04 -0300 |
| commit | 506972a1d6023f6c3819e2d3ae05d9ad7c6ef799 (patch) | |
| tree | d40d6736b5b95015b4de9a623ef885660ce1ab42 /src/_pgsql_utils | |
| parent | Merge pull request #517 from lenormf/_kak (diff) | |
| download | zsh-completions-506972a1d6023f6c3819e2d3ae05d9ad7c6ef799.tar zsh-completions-506972a1d6023f6c3819e2d3ae05d9ad7c6ef799.tar.gz zsh-completions-506972a1d6023f6c3819e2d3ae05d9ad7c6ef799.tar.bz2 zsh-completions-506972a1d6023f6c3819e2d3ae05d9ad7c6ef799.tar.lz zsh-completions-506972a1d6023f6c3819e2d3ae05d9ad7c6ef799.tar.xz zsh-completions-506972a1d6023f6c3819e2d3ae05d9ad7c6ef799.tar.zst zsh-completions-506972a1d6023f6c3819e2d3ae05d9ad7c6ef799.zip | |
Add additional options for psql
Diffstat (limited to 'src/_pgsql_utils')
| -rw-r--r-- | src/_pgsql_utils | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/_pgsql_utils b/src/_pgsql_utils index fb9456c..5501649 100644 --- a/src/_pgsql_utils +++ b/src/_pgsql_utils @@ -189,8 +189,11 @@ _psql () { {-A,--no-align}'[unaligned output mode]' \ {-c+,--command=}':execute SQL command:' \ {-d+,--dbname=}':database to connect to:_pgsql_databases' \ + {-b,--echo-errors}'[echo failed commands]' \ {-e,--echo-queries}'[display queries submitted]' \ {-E,--echo-hidden}'[display hidden queries]' \ + {-L,--log-file=}'[send session log to file]' \ + {-n,--no-readline}'[disable enhanced command line editing (readline)]' \ {-f+,--file=}':SQL file to read:_files' \ {-F+,--field-separator=}':field separator char:' \ {-H,--html}'[HTML output]' \ @@ -206,6 +209,8 @@ _psql () { -u'[prompt for username/password]' \ {-v+,--set=,--variable=}':set SQL variable:' \ {-x,--expanded}'[one column per line]' \ + {-z,--field-separator-zero}'[set field separator for unaligned output to zero byte]' \ + {-0,--record-separator-zero}'[set record separator for unaligned output to zero byte]' \ {-X,--no-psqlrc}'[dont read ~/.psqlrc]' \ ':PostgreSQL database:_pgsql_databases' \ ':PostgreSQL user:_pgsql_users' |
