Command-tag customization
Custom protocol command tags and _pq_ capability negotiation.
After testing the newly committed REPACK command and confirming that it is transactional but takes an access-exclusive lock, the group built a prototype for customizable command-completion tags such as schema-qualified table names. A first server-only change broke psql's parser, exposing the need for client/server capability negotiation. The agent then used the existing _pq_ protocol-options framework so only requesting clients receive the new format. They reviewed compatibility tests and concluded the patch was useful for discussion but needed cleanup before pgsql-hackers.
[timecodes · 8]
- Testing the new REPACK command
- REPACK locking and transaction behavior
- Designing descriptive command tags
- Prototype-first agentic implementation
- Server-only format change breaks psql
- Why protocol feature negotiation is required
- Using the _pq_ protocol-options framework
- Compatibility review and patch cleanup
direct mapping