Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIKlq-0006tX-CM for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Jun 2017 20:08:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dIKlp-0003i8-JG for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Jun 2017 20:08:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dIKl7-0001KN-Py; Tue, 06 Jun 2017 20:07:21 +0000 Received: from 104-190-1-44.lightspeed.sndgca.sbcglobal.net ([104.190.1.44] helo=joeconway.com) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIKl4-0005on-8c; Tue, 06 Jun 2017 20:07:20 +0000 Received: from [72.214.29.243] (account jconway@joeconway.com HELO [192.168.4.41]) by joeconway.com (CommuniGate Pro SMTP 6.1.4) with ESMTPSA id 18702472; Tue, 06 Jun 2017 13:07:14 -0700 Subject: Re: BUG #14682: row level security not work with partitioned table To: Mike Palmiotto , Robert Haas Cc: Noah Misch , fte@nct.ru, PostgreSQL mailing lists , Michael Paquier , Amit Langote , "pgsql-hackers@postgresql.org" References: <20170601065959.1486.69906@wrigleys.postgresql.org> <20170604223314.GB1547727@rfd.leadboat.com> <665f3a45-46e0-e49e-b4c0-5159785b638a@joeconway.com> From: Joe Conway Openpgp: id=4EA5B4659ED59CC9538139A5332B7E68B699434A Message-ID: <48656ca0-bdad-cd25-b34a-1995367263f3@joeconway.com> Date: Tue, 6 Jun 2017 13:07:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kp1AeAKAxL8CX5ptHfEKTG0debto9Hdxl" X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kp1AeAKAxL8CX5ptHfEKTG0debto9Hdxl From: Joe Conway To: Mike Palmiotto , Robert Haas Cc: Noah Misch , fte@nct.ru, PostgreSQL mailing lists , Michael Paquier , Amit Langote , "pgsql-hackers@postgresql.org" Message-ID: <48656ca0-bdad-cd25-b34a-1995367263f3@joeconway.com> Subject: Re: [BUGS] BUG #14682: row level security not work with partitioned table References: <20170601065959.1486.69906@wrigleys.postgresql.org> <20170604223314.GB1547727@rfd.leadboat.com> <665f3a45-46e0-e49e-b4c0-5159785b638a@joeconway.com> In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Content-Language: en-US On 06/06/2017 11:57 AM, Mike Palmiotto wrote: > On Mon, Jun 5, 2017 at 10:36 AM, Robert Haas wrot= e: >> On Mon, Jun 5, 2017 at 10:20 AM, Joe Conway wrote: >>> Unless Robert objects, I'll work with Mike to get a fix posted and >>> committed in the next day or two. >> >> That would be great. Thanks. >=20 > I have the updated patch with rowsecurity regression tests and rebased > on master. I've run these and verified locally by feeding > rowsecurity.sql to psql, but have yet to get the full regression suite > passing -- it's failing on the constraints regtest and then gets stuck > in recovery. Undoubtedly something to do with my > configuration/environment over here. I'm working through those issues > right now. In the meantime, if you want to see the regression tests as > they stand, please see the attached patch. The constraints test passes here, so presumably something you borked locally. I only see a rowsecurity failure, which is not surprising since your patch does not include the changes to expected output ;-) Please resend with src/test/regress/expected/rowsecurity.out included. Thanks, Joe --=20 Crunchy Data - http://crunchydata.com PostgreSQL Support for Secure Enterprises Consulting, Training, & Open Source Development --kp1AeAKAxL8CX5ptHfEKTG0debto9Hdxl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZNwtxAAoJEDfy90M199hlHi0P/i02XwyaHVFN/RwR9UIKqMU1 KWGNC4K+qNbFkdiguxwfZDY0wKf9NcGNCuWlXvEzn1fK2iPwW2QiC/pFJWUXh/1b Y+lGQlBMKT+XaSaTjb+ZFQmL0NZFfk35laJcxopMUPsG5SNIqEpiPF0u97LvMmIA uS5Sjnhv5rtIvGvPj4tAKrH0FaEmuqoNNBIHq/cRLIzb9iHwMG1V9FXW5wefbF1k V4JPCG+vJaj1g7P+k1YcTmy7mgB1ngDuNKIo7Uw6TZLfqrbpqsPF7/yFWuGF75Or G7pMfX5gdxM9ZWL+of2oOyrfrlLdoKtvmG5D9Wx/Lp/4bDLr1I22agqyHCnBsNH3 UvSCil9isgSl3jYtyFvo5q9g0vndW5yOq056HsPZPqEgy5GF4IANLFVVe/VO3sS3 vMAKNS6NZYjhNBdGSLdQAbFfJwXI4UnUto7UBZvLh0JAVs//9zx6tj8T709AxhkQ wFcUb4FQSV99l/h79eHRt1zC/6hQS9PZ8kE3JSXTd7odoXuvH+pnIFK7ByvQXJ6S +EER3vJ7UbT5sQQ8Na1/6QB09SdZw5DQq89vrQVGGcmiAST4P3g072jI0GpTKZxw 0oBHiLlmtuF8VVBTqTwjVZfBDqa7ngVh6+x+lJrFeHyy8p+++OhqqlHmb3LU0CN+ vDGOgcDRS2Ik4toh6H3Q =5h9C -----END PGP SIGNATURE----- --kp1AeAKAxL8CX5ptHfEKTG0debto9Hdxl--