[syntax change WITH PASSWORD "foo" -> WITH PASSWORD 'foo']

Here's a patch. (I think. I'm a bloody Tcl amateur.) What do we do with
it?


*** pgsql-cvs/src/bin/pgaccess/lib/users.tcl    Sat Oct 30 18:18:49 1999
--- pgsql/src/bin/pgaccess/lib/users.tcl        Fri May 12 13:57:28 2000
*************** proc {save} {} {
*** 63,69 ****
        }
        set cmd "$PgAcVar(user,action) user \"$PgAcVar(user,name)\""
        if {$PgAcVar(user,password)!=""} {
!               set cmd "$cmd WITH PASSWORD \"$PgAcVar(user,password)\" "
        }
        set cmd "$cmd $PgAcVar(user,createdb) $PgAcVar(user,createuser)"
        if {$PgAcVar(user,validuntil)!=""} {
--- 63,69 ----
        }
        set cmd "$PgAcVar(user,action) user \"$PgAcVar(user,name)\""
        if {$PgAcVar(user,password)!=""} {
!               set cmd "$cmd WITH PASSWORD '$PgAcVar(user,password)' "
        }
        set cmd "$cmd $PgAcVar(user,createdb) $PgAcVar(user,createuser)"
        if {$PgAcVar(user,validuntil)!=""} {


-- 
Peter Eisentraut                  Sernanders väg 10:115
[EMAIL PROTECTED]                   75262 Uppsala
http://yi.org/peter-e/            Sweden

Reply via email to