Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, toruvinn <toruvinn(at)lain(dot)pl>, pgsql-bugs(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance
Date: 2009-08-08 16:02:06
Message-ID: 16154.1249747326@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-performance

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Tom Lane wrote:
>> Now that we have SQL-level CONNECT privilege, I wonder just how much
>> functionality would be lost if we got rid of the flat files and told
>> people they had to use CONNECT to do any per-user or per-database
>> access control.
>>
>> The main point I can see offhand is that password checking would have
>> to be done a lot later in the startup sequence, with correspondingly
>> more cycles wasted to reject bad passwords.

> Is this a TODO?

Well, it's a TO-THINK-ABOUT anyway. I think the appropriate next step
would not be to write code, but to do a detailed investigation of what
would be gained or lost. I don't remember exactly what we do with the
flat-file contents.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2009-08-08 17:57:05 Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance
Previous Message Bruce Momjian 2009-08-08 04:13:49 Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Andreen 2009-08-08 17:09:47 Re: ORDER BY ... LIMIT and JOIN
Previous Message Pierre Frédéric Caillaud 2009-08-08 09:26:34 Re: PG-related ACM Article: "The Pathologies of Big Data"