Fix assumption about orders if columns in pg_shadow

This commit is contained in:
Jamie Cameron
2011-12-11 15:21:41 -08:00
parent 21742599d6
commit 4314eec433
6 changed files with 9 additions and 7 deletions

View File

@ -13,6 +13,7 @@ if ($config{'psql'} =~ /^(.*)\/bin\/psql$/ && $1 ne '' && $1 ne '/usr') {
$ENV{$gconfig{'ld_env'}} .= ':' if ($ENV{$gconfig{'ld_env'}});
$ENV{$gconfig{'ld_env'}} .= "$1/lib";
}
$pg_shadow_cols = "usename,usesysid,usecreatedb,usesuper,usecatupd,passwd,valuntil";
if ($module_info{'usermin'}) {
# Login and password is set by user in Usermin, and the module always