Re: Providing catalog view to pg_hba.conf file - Patch submission

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Providing catalog view to pg_hba.conf file - Patch submission
Дата
Msg-id 20150302194241.GW29780@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Providing catalog view to pg_hba.conf file - Patch submission  (Greg Stark <stark@mit.edu>)
Ответы Re: Providing catalog view to pg_hba.conf file - Patch submission  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
* Greg Stark (stark@mit.edu) wrote:
> On Mon, Mar 2, 2015 at 4:36 PM, Greg Stark <stark@mit.edu> wrote:
> >
> > So I didn't get the memo about SFRM_Materialize. Here's a rewrite of this using that interface which seems to test
okup to 100k. At that point I start running into memory errors on reading the HBA file so I guess that's an indication
that'slarge enough to stop worrying about it. 
>
> Hm. I'm wondering why I'm getting out of memory errors now with just
> 25k lines in pg_hba.conf. It looks like the HbaLine struct is "only"
> 472 bytes so the list should only be occupying about 11MB. In fact
> it's occupying about a gigabyte:

Uh, maybe because it's trying to allocate over 1GB and palloc() doesn't
support that?
Thanks,
    Stephen

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Additional role attributes && superuser review
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Providing catalog view to pg_hba.conf file - Patch submission