Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHe5N-0001AC-E4 for pgsql-hackers@arkaria.postgresql.org; Sun, 04 Jun 2017 22:33:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dHe5N-0002Qr-0d for pgsql-hackers@arkaria.postgresql.org; Sun, 04 Jun 2017 22:33:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dHe5M-0002Qi-KE for pgsql-hackers@postgresql.org; Sun, 04 Jun 2017 22:33:24 +0000 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dHe5I-00069I-2z for pgsql-hackers@postgresql.org; Sun, 04 Jun 2017 22:33:24 +0000 Received: by mail-pg0-x235.google.com with SMTP id a70so4806440pge.3 for ; Sun, 04 Jun 2017 15:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=PX5dnJZSZcoUm3Rof/ES90sSkx2ZiJ7fORQYrKa565c=; b=GJgZayaYRHV3kDH9bOayr0FixK750kQJHu85V1dK2txBNmIXbIriwYHbnFfyYNaHuV k9W0F1DQntIc8OcFDEPtOposTvagOZ+1j7Rczmi2qxjH0OHMqhLrdQvXhZDRlbcKpRdw 3anGCndrAFcO44CWWRTndgvg7LHHa5N3rohlQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=PX5dnJZSZcoUm3Rof/ES90sSkx2ZiJ7fORQYrKa565c=; b=nNRxh8P+pyzGx3un1UEvaVzB3UBAKQrJ90mcOjOc+l1xgw9S4DFkOHrG0XAIXcXzww SREUMq/OwdGduzzyGzSpvaiVmJhXBRJusTagWo4jFzkASppaTIT7XDOQn+hibqXM/Fts mAYuldt2KJipdpk7OYL+szQIzDPJvTJt42Wrp8TIioY6Y4L2Y6PIRzisCerSrzYJkovl 2H8xgSNLY0pwaU2ObASCumjBOKoarSFlTlGON3vr3D9ChSWmfL6VFG4NHLv1ajjQSwKq wmhgHT7UDijjRRDcTS7crKT5slvOSgvFuGIZRdIYSmvbhJO6QywwXTJZ5lqqzubH9CVP rYBQ== X-Gm-Message-State: AODbwcBQWUeWpfWJpTobxXBO+oZe3NZt0xaHqbsb8jxU3Fk1sqrzGsFk pBy7epYDlDQWqsGJ X-Received: by 10.98.8.142 with SMTP id 14mr17557008pfi.35.1496615597822; Sun, 04 Jun 2017 15:33:17 -0700 (PDT) Received: from rfd.leadboat.com (c-73-158-248-138.hsd1.ca.comcast.net. [73.158.248.138]) by smtp.gmail.com with ESMTPSA id y28sm3296543pfd.32.2017.06.04.15.33.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Jun 2017 15:33:16 -0700 (PDT) Date: Sun, 4 Jun 2017 22:33:14 +0000 From: Noah Misch To: Robert Haas Cc: Mike Palmiotto , fte@nct.ru, PostgreSQL mailing lists , Michael Paquier , Amit Langote , pgsql-hackers@postgresql.org Subject: Re: BUG #14682: row level security not work with partitioned table Message-ID: <20170604223314.GB1547727@rfd.leadboat.com> References: <20170601065959.1486.69906@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.0 (--) 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 On Fri, Jun 02, 2017 at 09:28:16AM +0900, Michael Paquier wrote: > On Thu, Jun 1, 2017 at 11:13 AM, Mike Palmiotto > wrote: > > This is indeed a bug. fireRIRrules is currently skipping the RLS > > policy check when relkind == PARTITIONED_TABLES, so RLS policies are > > not applied. The attached patch fixes the behavior. > > I would expect RLS to trigger as well in this context. Note that there > should be regression tests to avoid this failure again in the future. > I have added an open item. [Action required within three days. This is a generic notification.] The above-described topic is currently a PostgreSQL 10 open item. Robert, since you committed the patch believed to have created it, you own this open item. If some other commit is more relevant or if this does not belong as a v10 open item, please let us know. Otherwise, please observe the policy on open item ownership[1] and send a status update within three calendar days of this message. Include a date for your subsequent status update. Testers may discover new open items at any time, and I want to plan to get them all fixed well in advance of shipping v10. Consequently, I will appreciate your efforts toward speedy resolution. Thanks. [1] https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers