mdbversion()
Returns the current Metadb version string.Signature
The version string in semantic versioning format (e.g., “1.2.0”)
Usage
Example Output
Use Cases
Version Verification
Version Verification
Verify which version of Metadb is running before executing version-specific commands:
Monitoring Scripts
Monitoring Scripts
Include version information in monitoring dashboards or automated reports:
mdbusers()
Returns a list of all users registered with the Metadb instance.Signature
Returns a table with the following columns:
The username of each registered user
Usage
Example Output
Use Cases
User Management
User Management
List all registered users to verify access:
Access Auditing
Access Auditing
Check which users are registered before granting or revoking privileges:
The
mdbusers() function only returns users that have been registered with the Metadb instance via create user or register user commands. Database users that exist in PostgreSQL but are not registered will not appear.Related Commands
User Management
Create and register database users
Monitoring Functions
Monitor logs and running processes
