Postgresql
PostgreSQL Database Management
Return PostgreSQL name length restrictions
This function retrieves the PostgreSQL® user and database name length restrictions.
Important:
When you disable the PostgreSQL role, the system disables this function.
get/Postgresql/get_restrictions
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_restrictions",
"module": "Postgresql",
"result": {
"data": {
"max_database_name_length": 63,
"max_username_length": 63,
"prefix": "example_"
},
"status": 1
}
}