Hi Christoph, I tested the latest v7 patch on Linux. The patch applied and built without any issues. After rebuilding PostgreSQL and re-running initdb, I verified the new functionality. I tested both the name and oid variants of pg_tablespace_avail(), confirmed that the new Free column in \db+ displays the expected values, and compared the reported free space with df -h, which matched as expected. I also created a custom tablespace and verified that it reports the available space correctly. In addition, I tested the behavior with a non-superuser account to verify the permission handling, and everything worked as expected. Finally, I ran: make check TESTS=tablespace The tablespace regression test passed successfully, and I also ran the full regression test suite, which completed with all tests passing. Overall, the v7 changes worked well in my testing, and I didn't encounter any issues.
Regards, Solai
