Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjaXi-0007Mg-Ib for pgsql-docs@arkaria.postgresql.org; Mon, 12 Sep 2016 23:21:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bjaXi-00056m-5J for pgsql-docs@arkaria.postgresql.org; Mon, 12 Sep 2016 23:21:38 +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 1bjaXM-0004iI-GH for pgsql-docs@postgresql.org; Mon, 12 Sep 2016 23:21:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bjaXK-0003HJ-81 for pgsql-docs@postgresql.org; Mon, 12 Sep 2016 23:21:15 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u8CNLCr2022920; Mon, 12 Sep 2016 19:21:12 -0400 From: Tom Lane To: Alexander Law cc: "pgsql-docs@postgresql.org" Subject: Re: Invalid field name in RLS description In-reply-to: <905bf384-92a8-20aa-d705-6269534c721a@gmail.com> References: <905bf384-92a8-20aa-d705-6269534c721a@gmail.com> Comments: In-reply-to Alexander Law message dated "Mon, 12 Sep 2016 17:43:37 +0300" Date: Mon, 12 Sep 2016 19:21:12 -0400 Message-ID: <22919.1473722472@sss.pgh.pa.us> X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Alexander Law writes: > It seems, that the RLS description supposes that the users table > contains the field "user", but it's a reserved keyword. > Patch attached. (The replacement "user_name" selected as corresponding > to the following examples). Pushed; I also made a few more changes to make some nearby examples consistent with that. Also pushed the other typos you pointed out today. Thanks for catching them! regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs