Expand description
PostgreSQL wire protocol parser (v3)
Message format: [type:1][length:4 (includes self)][payload…] Startup message has no type byte: [length:4][protocol_version:4][params…]
Functions§
- extract_
postgres_ full_ command - Extract full SQL from request (no truncation)
- format_
postgres_ response_ detail - Format response detail for the detail panel
- parse_
postgres_ request - Parse a client→server message, return human-readable summary
- parse_
postgres_ response - Parse a server→client message, return short summary Scans for the most important message in a multi-message buffer.
- postgres_
response_ complete - Check if a PostgreSQL response is complete (ends with ReadyForQuery ‘Z’)