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

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission
Date: 2015-03-02 19:34:57
Message-ID: 20150302193457.GE3291@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Stark wrote:

> 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:

Maybe it's leaking heavily while parsing ...

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2015-03-02 19:41:30 Re: Additional role attributes && superuser review
Previous Message Robert Haas 2015-03-02 19:31:57 Re: add modulo (%) operator to pgbench