ALTER PROFILE v14
Name
ALTER PROFILE
— Alter an existing profile.
Synopsis
Description
Use the ALTER PROFILE
command to modify a user-defined profile. EDB Postgres Advanced Server supports two forms of the command:
- Use
ALTER PROFILE…RENAME TO
to change the name of a profile. - Use
ALTER PROFILE…LIMIT
to modify the limits associated with a profile.
Include the LIMIT
clause and one or more space-delimited parameter/value
pairs to specify the rules enforced by EDB Postgres Advanced Server. Use ALTER PROFILE…RENAME TO
to change the name of a profile.
Parameters
profile_name
The name of the profile.
new_name
The new name of the profile.
parameter
The attribute limited by the profile.
value
The parameter limit.
EDB Postgres Advanced Server supports these values for each parameter:
FAILED_LOGIN_ATTEMPTS
specifies the number of failed login attempts that a user can make before the server locks them out of their account for the length of time specified by PASSWORD_LOCK_TIME
. Supported values are:
- An
INTEGER
value greater than0
. DEFAULT
— The value ofFAILED_LOGIN_ATTEMPTS
specified in theDEFAULT
profile.UNLIMITED
— The connecting user can make an unlimited number of failed login attempts.
PASSWORD_LOCK_TIME
specifies the length of time that must pass before the server unlocks an account that was locked because of FAILED_LOGIN_ATTEMPTS
. Supported values are:
- A
NUMERIC
value of0
or greater. To specify a fractional portion of a day, specify a decimal value. For example, use the value4.5
to specify 4 days, 12 hours. DEFAULT