Now that lz4 also supports backup compression, decompression, and more future enhancements that can be done here, I think it is better to make the --with-lz4 description more generic than adding specific details in there.
Attached is the patch to remove the specifics related to WAL and TOAST compression. Regards, Jeevan Ladhe
improve-with-lz4-install-documentation.patch
Description: Binary data