diskquota
diskquota copied to clipboard
PostgreSQL disk quota extension
Previously, in refresh_rejectmap(), we remove all entries in disk_quota_reject_map and then insert new entries into it. In this produce, some entries haved been removed and inserted, which waste too much...
See README.md for details.
The purpose of these patches is to allow non-superuser roles to managed disk qouta in greeplum cluster. This is helpfully for cloud providers which can serve managed greenplum solution. This...
https://github.com/greenplum-db/diskquota/blob/a939bc078f9b041059ecb223504abb816753a3e4/src/diskquota.c#L858-L864 why not here and in other places simply use SPI_result_code_string(ret_code) instead? like ```c ret_code = SPI_execute(sql, false, 0); if (ret_code != SPI_OK_UTILITY) { ereport(ERROR, (errmsg("[diskquota launcher] SPI_execute error, sql:...
table_size may be updated frequently, we need to vacuum it in background.