aboutsummaryrefslogtreecommitdiffstats
path: root/src/_pgsql_utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove postgres utility completionsShohei YOSHIDA2025-12-101-590/+0
| | | | | | | Because zsh supports those commands by itself now See - https://github.com/zsh-users/zsh/blob/master/Completion/Unix/Command/_postgresql
* Fix typosDimitris Apostolou2023-01-041-2/+2
|
* Update linksShohei YOSHIDA2022-11-231-3/+3
|
* Add additional PostgreSQL completions for 13+ and reorganizeJ Smith2022-01-271-58/+127
|
* Merge pull request #749 from arp242/psqlrcShohei YOSHIDA2020-06-031-5/+5
|\ | | | | pgsql: add -X to psql commands to prevent loading ~/.psqlrc
| * pgsql: add -X to psql commands to prevent loading ~/.psqlrcMartin Tournoij2020-06-031-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ~/.psqlrc may alter the output. In particular, I have '\timing on' in there to add timings. This is useful when using psql, but not when relying on it in scripts. For example: psql -Aqt -c "select n.nspname \ from pg_catalog.pg_namespace n \ where n.nspname "'!~'" '^pg_' \ and n.nspname <> 'information_schema' \ order by 1;" postgres 2>/dev/null Gives the output: public Time: 1.882 ms Whereas with -X it gives the standard output: public
* | pgsql: Check for pg_config existenceMartin Tournoij2020-06-031-4/+3
|/ | | | | | pg_config isn't installed by default on many systems, and is usually part of postgresql-libs-devel or some such, leading to needless "pg_config not found" errors on completion.
* Fix typosDimitris Apostolou2020-04-091-7/+7
|
* Add additional PostgreSQL completions for PostgreSQL 12+J Smith2020-02-131-1/+17
|
* Fix a syntax error on the PostgreSQL `createuser` utilityJ Smith2019-06-141-3/+3
|
* #505: pg_restore accepts a fileJulien Nicoulaud2018-10-131-1/+2
|
* Add the --role option to the common pgsql optionsJ Smith2017-08-281-0/+1
|
* Add additional options for initdbJ Smith2017-08-281-0/+5
|
* Add the -i/--interactive option for dropuserJ Smith2017-08-281-1/+1
|
* Add additional options for createuserJ Smith2017-08-281-1/+5
|
* Add additional options for pg_dumpJ Smith2017-08-281-0/+11
|
* Add additional options for psqlJ Smith2017-08-281-0/+5
|
* #207: add license headers to compdefs from zsh-users mailing listJulien Nicoulaud2016-05-271-0/+25
|
* Add service=... support to PostgreSQL completionStefano Zacchiroli2015-11-061-1/+11
|
* pg_restore completionJ Smith2015-06-281-1/+41
|
* Correct misspellingsSyohei YOSHIDA2015-06-081-1/+1
|
* Fix typo in _pgsql_utils --disable-dollar-quotingFelix Bùˆnemann2014-08-281-1/+1
|
* pg_dumpall completionDaniel Serodio2012-09-211-1/+32
|
* Add a bunch of additional options for pg_dump.J Smith2012-09-111-1/+10
|
* Add the -T/--exclude-table option for pg_dump.J Smith2012-09-111-0/+1
|
* Add the -N/--exclude-schema option for pg_dump.J Smith2012-09-111-0/+1
|
* Add _pgsql_schemas to grab the list of schemas for pg_dump.J Smith2012-09-111-1/+18
|
* Add the -E/--encoding option for pg_dump.J Smith2012-09-111-0/+1
|
* Add the initdb command.J Smith2012-09-101-2/+47
|
* Add the createuser and dropuser commands.J Smith2012-09-101-1/+38
|
* Get the list of encodings from the database cluster.J Smith2012-09-101-21/+12
|
* Connect to template1 when getting the list of databases.J Smith2012-09-101-1/+1
| | | | | We can't assume that the user will have a database that shares their user name.
* Fix typo -- "oin" should be "oid".J Smith2012-09-101-1/+1
|
* Move modelines to end of fileAaron Schrab2012-08-231-3/+8
| | | | | | | | | | | | | | | | | | | | | | Having a vim modeline or emacs local variable line somewhere in the middle of the file isn't really helpful. By default, vim will only check the first and last 5 lines of a file for a modeline (assuming the modeline option is enabled). Emacs is even more strict about the type of local variable line that was in use, it will only check the first line of the file or the second line if the first line specifies a script interpreter (which isn't the case here). Move the vim modeline to the end of the file so that it can actually be found by vim but is out of the way for editing. For emacs more work is required, convert that to the more verbose Local Variables syntax which emacs will look for starting 3000 characters from the end of the file. Also there is no zsh mode for emacs (according to zsh-users/zsh-completions#75), use the "Shell-Script" mode instead. This seems to automatically detect that the files are for zsh. I'm not an emacs user, so I haven't tested that portion much. But, this does at least improve the syntax highlighting there.
* [BREAKING CHANGE] Move compdefs to own directory (to ease packaging andJulien Nicoulaud2012-08-011-0/+266
avoid bloating users fpath with unneeded files such as README.md)