Re: How Restricting user
От
Joshua D. Drake
Тема
Re: How Restricting user
Дата
Msg-id
56CF4A32.7060800@commandprompt.com
Ответ на
Re: How Restricting user (Daniel Gallo)
Список
Дерево обсуждения
How Restricting user Daniel Gallo <danielito.gallo@gmail.com>
Re: How Restricting user dangal <danielito.gallo@gmail.com>
Re: How Restricting user "David G. Johnston" <david.g.johnston@gmail.com>
Re: How Restricting user Daniel Gallo <danielito.gallo@gmail.com>
Re: How Restricting user "Joshua D. Drake" <jd@commandprompt.com>
Re: How Restricting user dangal <danielito.gallo@gmail.com>
Re: How Restricting user "David G. Johnston" <david.g.johnston@gmail.com>
Re: How Restricting user Adrian Klaver <adrian.klaver@aklaver.com>
On 02/25/2016 10:09 AM, Daniel Gallo wrote:
> thanks a lot David!!!!
It wouldn't be hard to create a limiting system in user space however.
It would be a little obnoxious but it can be done. For example
connect_time and idle_time are relatively easy to implement with a
proper session handler in user space. You could also invalidate user
accounts by using the valuntil flag in pg_user.
It would be harder to do things like cpu_per_call (the database isn't
really the place for that) as well as logical reads.
Sincerely,
JD
--
Command Prompt, Inc. http://the.postgres.company/
+1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.
В списке pgsql-general по дате отправления