I like the idea a lot. Have not tested yet, but the patch looks okay as a
POC. I'm wondering if rather than a run-time check for IPPROTO_MCP
in src/backend/libpq/pqcomm.c, we shouldn't check right away as soon as it
is enabled via a guc check - see check_bonjour as a good example.
Cheers,
Greg