confz

git mirror of https://ccx.te2000.cz/bzr/confz
git clone https://ccx.te2000.cz/git/confz
Log | Files | Refs

commit 9ed50bc0ad66c0d74a1d555196b8f318cff19177
parent 8a76218e2177d01284b867af490fca18a54d731d
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Mon,  4 May 2015 20:46:32 +0200

query for extensions when checking extensions
Diffstat:
Mzsh-functions/confz_postgresql_init | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zsh-functions/confz_postgresql_init b/zsh-functions/confz_postgresql_init @@ -181,7 +181,7 @@ confz_postgresql_extension_check() { ) local out extension version schema comment - out=$( confz_do $vars[psql] $opts -AP tuples_only=on -c '\dn' $vars[db] ) || die "psql failed" + out=$( confz_do $vars[psql] $opts -AP tuples_only=on -c '\dx' $vars[db] ) || die "psql failed" while IFS='|' read extension version schema comment; do if [[ $extension == $vars[extension] ]]; then [[ $schema == $vars[schema_name] ]] || \