Re: SOC & user quotas

From: "Sergey E(dot) Koposov" <math(at)sai(dot)msu(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Subject: Re: SOC & user quotas
Date: 2007-02-28 17:31:20
Message-ID: Pine.LNX.4.64.0702282019350.14175@lnfm1.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 28 Feb 2007, Tom Lane wrote:
>> 2) I looked into the code, and from my understanding, the main part of the
>> code which should be affected by the quotas is storage/smgr/md.c.
>
> md.c is too low level to do catalog accesses and thus too low level to
> know who owns what.

That's probably a dumb question(I dont know the PG infrastructrure that
well), but Is it possible to put the information about the owner into
SMgrRelation/Relation structures? As I see the smgrextend() in smgr.c get
the SMgrRelation agrument...

regards,
Sergey

*******************************************************************
Sergey E. Koposov
Max Planck Institute for Astronomy/Cambridge Institute for Astronomy/Sternberg Astronomical Institute
Tel: +49-6221-528-349
Web: http://lnfm1.sai.msu.ru/~math
E-mail: math(at)sai(dot)msu(dot)ru

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2007-02-28 17:31:27 Re: COMMIT NOWAIT Performance Option
Previous Message Gregory Stark 2007-02-28 17:28:57 Re: COMMIT NOWAIT Performance Option