Description
This function retrieves the PostgreSQL® user and database name length restrictions.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
prefix |
string |
If database prefixing is enabled, this return outputs the database prefix. |
A valid string up to eight characters and an underscore (_). |
example_ |
max_database_name_length |
integer |
The maximum length of a database name. |
A positive integer. |
63 |
max_username_length |
integer |
The maximum length of a database username. |
A positive integer. |
63 |