Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1008 Bytes

alter-user.rst

File metadata and controls

56 lines (35 loc) · 1008 Bytes

ALTER USER

Alter an existing database user.

Table of contents

ALTER USER username
  SET ( user_parameter = value [, ...] )

ALTER USER applies a change to existing database users. Only existing superusers or the user itself have the priviledge to alter an existing database user.

The name by which the user is identified inside the database.

Changes a user parameter to a different value. The following user_parameter are supported to alter an existing user account:

password:

The password as cleartext entered as string literal.

NULL removes the password from the user.

Caution!

Passwords cannot be set for the crate superuser.

For security reasons it is recommended to authenticate as crate using a client certificate.