On Tue, 2018-11-13 at 16:47 +0800, Hubert Zhang wrote: > Hi all, > > We implement disk quota feature on Postgresql as an extension(link: > https://github.com/greenplum-db/diskquota), > If you are interested, try and use it to limit the amount of disk > space that > a schema or a role can use in Postgresql. > Any feedback or question are appreciated. >
It's not clear to me what's the goal of this thread? I understand what quotas are about, but are you sharing it because (a) it's a useful extension, (b) you propose adding a couple of new hooks (and keep the extension separate) or (c) you propose adding both the hooks and the extension (into contrib)? I assume it's either (b) and (c), in which case you should add it to 2019-01 CF: https://commitfest.postgresql.org/21/ In either case, it might be useful to add a LICENSE to the github repository, it's not clear what's the situation in this respect. That probably matters especially for (b), because for (c) it'd end up with PostgreSQL license automatically. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services