Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YlbjI-00006E-HF for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Apr 2015 11:25:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YlbjH-00062H-VW for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Apr 2015 11:25:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YlbjF-0005yj-LJ for pgsql-hackers@postgresql.org; Fri, 24 Apr 2015 11:25:05 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YlbjB-0002lf-ED for pgsql-hackers@postgresql.org; Fri, 24 Apr 2015 11:25:04 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id DE3185F7B0; Fri, 24 Apr 2015 07:24:59 -0400 (EDT) Date: Fri, 24 Apr 2015 07:24:59 -0400 From: Stephen Frost To: Dean Rasheed Cc: Christian Ullrich , PostgreSQL Hackers Subject: Re: [committers] pgsql: RLS fixes, new hooks, and new test module Message-ID: <20150424112459.GV30322@tamriel.snowman.net> References: <55399862.8090809@chrullrich.net> <20150424033153.GU30322@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ofQ+NWZjH2FySEVi" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-46-generic (x86_64) X-Uptime: 07:24:17 up 35 days, 17:12, 18 users, load average: 0.10, 0.06, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --ofQ+NWZjH2FySEVi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dean, * Dean Rasheed (dean.a.rasheed@gmail.com) wrote: > On 24 April 2015 at 04:31, Stephen Frost wrote: > > * Christian Ullrich (chris@chrullrich.net) wrote: > >> * Stephen Frost wrote: > >> >RLS fixes, new hooks, and new test module > >> > >> The buildfarm says that with -DCLOBBER_CACHE_ALWAYS, the RLS > >> violations get blamed on the wrong tables. Mostly, they are catalogs > >> (I have seen pg_opclass, pg_am, and pg_amproc), but some also come > >> up with binary garbage instead, e.g. > >> > >> - http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=3Dmarkhor&dt=3D201= 5-04-23%2000%3A00%3A12 > >> - http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=3Dfriarbird&dt=3D2= 015-04-23%2004%3A20%3A00 > >> - http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=3Dtick&dt=3D2015-0= 4-22%2019%3A56%3A53 > > > > Yup, thanks, Robert pointed this out on another thread and I'm looking > > into it. > > >=20 > Ah, yes it looks like a couple of places in > get_row_security_policies() ought to be making a copy of the relation > name when setting it on the WCO. Yup, that was the same conclusion that I came to last night, just hadn't finished testing before needing sleep. :) Will push a fix shortly for it. Thanks! Stephen --ofQ+NWZjH2FySEVi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVOigLAAoJEO1sijiDR2RVAuIQAJ1NX6AbZxXpHSvpBvYqXNTr mBrL13TDsR96O+TJakPsMHqJKGc2UEiyvHO620v2bVbGzH1KTXS7Lch+GAz3RXHJ fjTHNCDsTLsyQOZfSptdF7p5ODM92zMOBzlIEDvU2okSqIrvGaHd1rikIkbEiQHm Rr2DrzrP6XvRjL4BDSDl/jTYeceQ7OyX4tAnh1XB1NJpp2i5YUZO0iS945War4nO Nw1AxS9lCArtMt6FboSQhHGSpzlJFCfdeNBjDTU5UsDJ72hBhlO4AGHT3dTvJ3ns +0/4LUhE0LbZgbiP83FvRWUTnbBTw72uOWjs1iZlnIe+Z19JMpvkKgCRLDxrAMaX E/V/PN6JDQ7rcyiLOHc3VKScqPd/gYgN0HVVBnKUNFraYcdxFwfaFLv6IrUYAoSO APkVw3ZH3gra1d6m4dkr6XEsy7548f65SDtjFkb3f25mu4cqiy8MpyZlXHZtKdBp IZiYcsGgiJvbBr8LVpB7UwTGEUWI8SvaLjMtLImilRzQX5vHrfkdO0Lz269kwna4 KCsUf5awG+iPYlSUSumRGjqH8VrBjA841jRfy/Wo0cwMGAWq4tgJrN11NgcyeHcK WO0yT7iw2ZdrZlu7ZQ5ELi79i60D9zI+0W6MfyNcRP8Jm3b2NoCacj5L67QiLhPd ikkufpJPqXm+DE0bFUc4 =g4P0 -----END PGP SIGNATURE----- --ofQ+NWZjH2FySEVi--