pg.ddx.io pgsql-hackers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Greg Stark <stark@mit.edu>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission
Date: Mon, 2 Mar 2015 14:42:41 -0500
Message-ID: <20150302194241.GW29780@tamriel.snowman.net> (raw)
In-Reply-To: <CAM-w4HO0cDSOndSG=SEsHJRqx2TSE+qesLCvM=Q3Xexn_9WJ=w@mail.gmail.com>
References: <20150227195529.GS29780@tamriel.snowman.net>
<12545.1425072391@sss.pgh.pa.us>
<CAFj8pRBctY5wDOfQB+anSd-EkqJV4usJMLiiMk2GXZeeOAWMdw@mail.gmail.com>
<20150228004101.GV29780@tamriel.snowman.net>
<CAJrrPGedf9TrbCYS7QXtLrFSWp79k6La06z7J_V9r1B_SnWKzg@mail.gmail.com>
<CAM-w4HOFSCLk_erqxLOjbu9dv3vGcuC5RuCOi5C0y-GKL+j8_w@mail.gmail.com>
<20150302133417.GL29780@tamriel.snowman.net>
<CAM-w4HOKJcafjUafhVJKYVLdmhuE=tSMz9adpvaB=qV936jsmg@mail.gmail.com>
<CAM-w4HMod-CiOSCXkMX6hG4MfpjgxXh7d2jFjC_S2M2MSzkTTQ@mail.gmail.com>
<CAM-w4HO0cDSOndSG=SEsHJRqx2TSE+qesLCvM=Q3Xexn_9WJ=w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 ok up to 100k. At that point I start running into memory errors on reading the HBA file so I guess that's an indication that's large 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
Attachments:
[application/pgp-signature] signature.asc (818B, ../20150302194241.GW29780@tamriel.snowman.net/2-signature.asc)
download
view thread (92+ messages) latest in thread
Message-ID: <20150302194241.GW29780@tamriel.snowman.net> Permalink: ../20150302194241.GW29780@tamriel.snowman.net/ Also on: postgresql.org/message-id/20150302194241.GW29780@tamriel.snowman.net ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-hackers@postgresql.org Cc: sfrost@snowman.net, stark@mit.edu, kommi.haribabu@gmail.com, pavel.stehule@gmail.com, tgl@sss.pgh.pa.us, tomas.vondra@2ndquadrant.com Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission In-Reply-To: <20150302194241.GW29780@tamriel.snowman.net> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox