fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
f45ca4aca
master
1complete -c pg_dumpall --no-files 2 3# General options: 4complete -c pg_dumpall -s f -l file -r -d"Output file name" 5complete -c pg_dumpall -s v -l verbose -d"Verbose mode" 6complete -c pg_dumpall -s V -l version -d"Output version information" 7complete -c pg_dumpall -l lock-wait-timeout -x -d"Fail after waiting TIMEOUT for a table lock" 8complete -c pg_dumpall -s'?' -l help -d"Show this help" 9 10# Options controlling the output content: 11complete -c pg_dumpall -s a -l data-only -d"Dump only the data, not the schema" 12complete -c pg_dumpall -s c -l clean -d"Clean (drop) database objects before recreating" 13complete -c pg_dumpall -s E -l encoding -x -d"Dump the data in encoding ENCODING" 14complete -c pg_dumpall -s g -l globals-only -d"Dump only global objects, no databases" 15complete -c pg_dumpall -s o -l oids -d"Include OIDs in dump" 16complete -c pg_dumpall -s O -l no-owner -d"Skip restoration of object ownership" 17complete -c pg_dumpall -s r -l roles-only -d"Dump only roles, no databases or tablespaces" 18complete -c pg_dumpall -s s -l schema-only -d"Dump only the schema, no data" 19complete -c pg_dumpall -s S -l superuser -x -d"Superuser user name to use in the dump" 20complete -c pg_dumpall -s t -l tablespaces-only -d"Dump only tablespaces, no databases or roles" 21complete -c pg_dumpall -s x -l no-privileges -d"Do not dump privileges (grant/revoke)" 22complete -c pg_dumpall -l binary-upgrade -d"For use by upgrade utilities only" 23complete -c pg_dumpall -l column-inserts -d"Dump data as INSERT commands with column names" 24complete -c pg_dumpall -l disable-dollar-quoting -d"Disable dollar quoting, use SQL standard quoting" 25complete -c pg_dumpall -l disable-triggers -d"Disable triggers during data-only restore" 26complete -c pg_dumpall -l if-exists -d"Use IF EXISTS when dropping objects" 27complete -c pg_dumpall -l inserts -d"Dump data as INSERT commands, rather than COPY" 28complete -c pg_dumpall -l load-via-partition-root -d"Load partitions via the root table" 29complete -c pg_dumpall -l no-comments -d"Do not dump comments" 30complete -c pg_dumpall -l no-publications -d"Do not dump publications" 31complete -c pg_dumpall -l no-role-passwords -d"Do not dump passwords for roles" 32complete -c pg_dumpall -l no-security-labels -d"Do not dump security label assignments" 33complete -c pg_dumpall -l no-subscriptions -d"Do not dump subscriptions" 34complete -c pg_dumpall -l no-sync -d"Do not wait for changes to be written safely to disk" 35complete -c pg_dumpall -l no-tablespaces -d"Do not dump tablespace assignments" 36complete -c pg_dumpall -l no-unlogged-table-data -d"Do not dump unlogged table data" 37complete -c pg_dumpall -l quote-all-identifiers -d"Quote all identifiers, even if not key words" 38complete -c pg_dumpall -l use-set-session-authorization -d"Use SET SESSION AUTHORIZATION instead of ALTER OWNER" 39 40# Connection options: 41complete -c pg_dumpall -s d -l dbname -x -a'(__fish_complete_pg_database)' -d"Database to dump" 42complete -c pg_dumpall -s h -l host -x -a'(__fish_print_hostnames)' -d"Database server host or socket directory" 43complete -c pg_dumpall -s l -l database -x -a'(__fish_complete_pg_database)' -d"Alternative default database" 44complete -c pg_dumpall -s p -l port -x -d"Database server port number" 45complete -c pg_dumpall -s U -l username -x -a'(__fish_complete_pg_user)' -d"Connect as specified database user" 46complete -c pg_dumpall -s w -l no-password -d"Never prompt for password" 47complete -c pg_dumpall -s W -l password -d"Force password prompt (should happen automatically)" 48complete -c pg_dumpall -l role -x -d"Do SET ROLE before dump"