Fix create user for pgaccess.
authorBruce Momjian <[email protected]>
Sun, 14 May 2000 00:50:16 +0000 (00:50 +0000)
committerBruce Momjian <[email protected]>
Sun, 14 May 2000 00:50:16 +0000 (00:50 +0000)
src/bin/pgaccess/lib/users.tcl

index 18204e0f722589c43a395588acfb14fb9b21cdbd..8d64ac9bf1060109e253e59fc86bdb8cb48bcc4c 100644 (file)
@@ -63,7 +63,7 @@ global PgAcVar CurrentDB
        }
        set cmd "$PgAcVar(user,action) user \"$PgAcVar(user,name)\""
        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)"
        if {$PgAcVar(user,validuntil)!=""} {