Re: Control your disk usage in PG: Introduction to Disk QuotaExtension - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Control your disk usage in PG: Introduction to Disk QuotaExtension
Date
Msg-id 20190216045351.q344ex2utwk7ndtr@alap3.anarazel.de
Whole thread Raw
In response to Re: Control your disk usage in PG: Introduction to Disk Quota Extension  (Hubert Zhang <hzhang@pivotal.io>)
Responses Re: Control your disk usage in PG: Introduction to Disk Quota Extension  (Hubert Zhang <hzhang@pivotal.io>)
List pgsql-hackers
Hi,


On 2019-01-30 10:26:52 +0800, Hubert Zhang wrote:
> Hi Michael, Robert
> For you question about the hook position, I want to explain more about the
> background why we want to introduce these hooks.
> We wrote a diskquota extension <https://github.com/greenplum-db/diskquota>
> [ ...]
> On Tue, Jan 22, 2019 at 12:08 PM Hubert Zhang <hzhang@pivotal.io> wrote:
> 
> > > For this particular purpose, I don't immediately see why you need a
> >> > hook in both places.  If ReadBuffer is called with P_NEW, aren't we
> >> > guaranteed to end up in smgrextend()?
> >> Yes, that's a bit awkward.

Please note that on PG lists the customary and desired style is to quote
inline in messages rather than top-quote.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [PATCH v20] GSSAPI encryption support
Next
From: Andres Freund
Date:
Subject: Re: SQL/JSON: functions