diff options
| author | J Smith <dark.panda@gmail.com> | 2017-08-28 11:50:55 -0300 |
|---|---|---|
| committer | J Smith <dark.panda@gmail.com> | 2017-08-28 11:51:42 -0300 |
| commit | 2a331231c5677a9aa70f859161238a2f813915fc (patch) | |
| tree | 76aab56533993f8264a9e47de05c09a0cd3b8bfa /src/_pgsql_utils | |
| parent | Add the -i/--interactive option for dropuser (diff) | |
| download | zsh-completions-2a331231c5677a9aa70f859161238a2f813915fc.tar zsh-completions-2a331231c5677a9aa70f859161238a2f813915fc.tar.gz zsh-completions-2a331231c5677a9aa70f859161238a2f813915fc.tar.bz2 zsh-completions-2a331231c5677a9aa70f859161238a2f813915fc.tar.lz zsh-completions-2a331231c5677a9aa70f859161238a2f813915fc.tar.xz zsh-completions-2a331231c5677a9aa70f859161238a2f813915fc.tar.zst zsh-completions-2a331231c5677a9aa70f859161238a2f813915fc.zip | |
Add additional options for initdb
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 d573788..c94ec42 100644 --- a/src/_pgsql_utils +++ b/src/_pgsql_utils @@ -426,6 +426,8 @@ _initdb () { _arguments -C -s \ {--auth=,-A+}':default authentication method for local connections:_values "auth methods" $_pgsql_auth_methods[@]' \ + --auth-host=':default authentication method for local TCP/IP connections:_values "auth methods" $_pgsql_auth_methods[@]' \ + --auth-local=':default authentication method for local-socket connections:_values "auth methods" $_pgsql_auth_methods[@]' \ {-D+,--pgdata=}':location for this database cluster:_files' \ {-E+,--encoding=}':set default encoding for new databases:' \ --locale=':set default locale for new databases:' \ @@ -443,8 +445,11 @@ _initdb () { {-X+,--xlogdir=}':location for the transaction log directory:_files' \ {-d,--debug}'[generate lots of debugging output]' \ -L+':where to find the input files:_files' \ + {-k,--data-checksums}':use data page checksums:' \ {-n,--noclean}'[do not clean up after errors]' \ + {-N,--nosync}':do not wait for changes to be written safely to disk:' \ {-s,--show}'[show internal settings]' \ + {-S,--sync-only}'[only sync data directory]' \ ':location for this database cluster:_files' } |
