PostgreSQL 8.2.3 婺桺桺懼
劯锔媆锔媆誕嬉誕

ALTER USER

劉䓄

ALTER USER -- 媞櫹婔婻昄扞康蓐謾

臺濘

ALTER USER name [ [ WITH ] option [ ... ] ]

認麯 option 埇傖滇
    
      SUPERUSER | NOSUPERUSER
    | CREATEDB | NOCREATEDB
    | CREATEROLE | NOCREATEROLE
    | CREATEUSER | NOCREATEUSER
    | INHERIT | NOINHERIT
    | LOGIN | NOLOGIN
    | CONNECTION LIMIT connlimit
    | [ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password'
    | VALID UNTIL 'timestamp' 

ALTER USER name RENAME TO newname

ALTER USER name SET configuration_parameter { TO | = } { value | DEFAULT }
ALTER USER name RESET configuration_parameter

柟誄

ALTER USER 䯄婘滇 ALTER ROLE 䔇彆劉埗黙劯蔙诙埡敘崔媇敇㔗

噚垹攓

The ALTER USER 臺埖滇 PostgreSQL 欷匘㔗SQL 湺庖儖䫘潙䔇垔幬庴䂍垂䯄垯潊㔗

埽蓕

ALTER ROLE

劯锔饡釕嬉誕
ALTER TYPE婪婔亓ANALYZE