pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Mike Palmiotto <mike.palmiotto@crunchydata.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: fte@nct.ru, PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Amit Langote <amitlangote09@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: BUG #14682: row level security not work with partitioned table
Date: Tue, 6 Jun 2017 13:07:13 -0700
Message-ID: <48656ca0-bdad-cd25-b34a-1995367263f3@joeconway.com> (raw)
In-Reply-To: <CAMN686FAQ8ywtJF+UsdcM+03VV4-MM60bXNh3Lz-q=TEoPiN_g@mail.gmail.com>
References: <20170601065959.1486.69906@wrigleys.postgresql.org>
	<CAMN686FExvZrfDzmi2+8Zd4bfsLhz+7upX=p8AS_DPhdGKoKxA@mail.gmail.com>
	<CAB7nPqSUKZoYGo2mMgCw6UF+WAK9VByo-0hc0jZqX=eSHn8xtw@mail.gmail.com>
	<20170604223314.GB1547727@rfd.leadboat.com>
	<665f3a45-46e0-e49e-b4c0-5159785b638a@joeconway.com>
	<CA+TgmoYjJtMSgYBLDqj_rUrNxGAM9FYiT-ZCbZ-0vd58w2PzOw@mail.gmail.com>
	<CAMN686FAQ8ywtJF+UsdcM+03VV4-MM60bXNh3Lz-q=TEoPiN_g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 06/06/2017 11:57 AM, Mike Palmiotto wrote:
> On Mon, Jun 5, 2017 at 10:36 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Mon, Jun 5, 2017 at 10:20 AM, Joe Conway <mail@joeconway.com> 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.
> 
> 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

-- 
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (20+ messages)  latest in thread

Message-ID: <48656ca0-bdad-cd25-b34a-1995367263f3@joeconway.com>
Permalink:  ../48656ca0-bdad-cd25-b34a-1995367263f3@joeconway.com/
Also on:    postgresql.org/message-id/48656ca0-bdad-cd25-b34a-1995367263f3@joeconway.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: mail@joeconway.com, mike.palmiotto@crunchydata.com, robertmhaas@gmail.com, noah@leadboat.com, michael.paquier@gmail.com, amitlangote09@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: BUG #14682: row level security not work with partitioned table
  In-Reply-To: <48656ca0-bdad-cd25-b34a-1995367263f3@joeconway.com>
  References: <20170601065959.1486.69906@wrigleys.postgresql.org> <CAMN686FExvZrfDzmi2+8Zd4bfsLhz+7upX=p8AS_DPhdGKoKxA@mail.gmail.com> <CAB7nPqSUKZoYGo2mMgCw6UF+WAK9VByo-0hc0jZqX=eSHn8xtw@mail.gmail.com> <20170604223314.GB1547727@rfd.leadboat.com> <665f3a45-46e0-e49e-b4c0-5159785b638a@joeconway.com> <CA+TgmoYjJtMSgYBLDqj_rUrNxGAM9FYiT-ZCbZ-0vd58w2PzOw@mail.gmail.com> <CAMN686FAQ8ywtJF+UsdcM+03VV4-MM60bXNh3Lz-q=TEoPiN_g@mail.gmail.com> <48656ca0-bdad-cd25-b34a-1995367263f3@joeconway.com>

* 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