Commit 6dedc79b authored by Bruce Momjian's avatar Bruce Momjian

Fix create user for pgaccess.

parent e8e7b630
...@@ -63,7 +63,7 @@ global PgAcVar CurrentDB ...@@ -63,7 +63,7 @@ global PgAcVar CurrentDB
} }
set cmd "$PgAcVar(user,action) user \"$PgAcVar(user,name)\"" set cmd "$PgAcVar(user,action) user \"$PgAcVar(user,name)\""
if {$PgAcVar(user,password)!=""} { if {$PgAcVar(user,password)!=""} {
set cmd "$cmd WITH PASSWORD \"$PgAcVar(user,password)\" " set cmd "$cmd WITH PASSWORD '$PgAcVar(user,password)' "
} }
set cmd "$cmd $PgAcVar(user,createdb) $PgAcVar(user,createuser)" set cmd "$cmd $PgAcVar(user,createdb) $PgAcVar(user,createuser)"
if {$PgAcVar(user,validuntil)!=""} { if {$PgAcVar(user,validuntil)!=""} {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment