Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbwEz-0005ov-BS for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 19:50:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZbwEy-0006vo-TD for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 19:50:08 +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) (envelope-from ) id 1ZbwEm-00065x-0v for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 19:49:56 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1ZbwEi-0002sR-G4 for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 19:49:54 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ZbwEh-0000KM-Tp for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 19:49:51 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.80) (envelope-from ) id 1ZbwEg-0004Cv-Ql for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 19:49:50 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Stephen Frost Subject: pgsql: Enforce ALL/SELECT policies in RETURNING for RLS Message-Id: Date: Tue, 15 Sep 2015 19:49:50 +0000 X-Pg-Spam-Score: -6.8 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: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