Get PostgreSQL Server Information
pg_server_infoRetrieve detailed PostgreSQL server information including version, connection details, memory settings, WAL configuration, and runtime parameters. Supports JSON or Markdown output.
Instructions
Get detailed PostgreSQL server information: version, connection details, memory settings, WAL configuration, and runtime parameters.
Returns: JSON: { version, current_database, current_user, settings: {...}, uptime } Markdown: formatted multi-section report
Useful for understanding the server environment, verifying connection details, and checking key configuration values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: 'markdown' for human-readable, 'json' for machine-readable | markdown |