Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tD8XZ-00GCme-5v for pgsql-docs@arkaria.postgresql.org; Mon, 18 Nov 2024 20:40:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tD8XX-007YbV-AT for pgsql-docs@arkaria.postgresql.org; Mon, 18 Nov 2024 20:40:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tD8XW-007YLN-W6 for pgsql-docs@lists.postgresql.org; Mon, 18 Nov 2024 20:40:07 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tD8XU-002Zxs-UE for pgsql-docs@lists.postgresql.org; Mon, 18 Nov 2024 20:40:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=9fgDDi6z43+cC30/RZN2BCjOrqBxD9A6YDSoc53gEa4=; b=aoovu TDW76nnsaWaukozJciorWffXsGQ3vSCi9JVWXWYYGN0D+OkUvvUFox+/JsiA/PYMSjh9VjZe3lIMb ndsNLqouw+388XIrf8WXbbNW26laVPVmp+j4YLS8Hke0/82axbiCO8hdE0BUVkXYIKA7qAap1ptws fSgRS40qHceJ8/aGGYklQPeg5B+yOXj/2s8WsryYSz1IWTfHONbYTBylZJxzrFbQACgoA5BtDTS69 ZiWS1MKWgYrzbqfnEax3oS1FC3nWaREXSmfJKk3NWY+1V38zvghZeLUpCEq0yqgvvhktylsSqP5lU mfJOxuj0zPSbljnz3aFf7SYdlllDA==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1tD8XT-001k7W-1Q; Mon, 18 Nov 2024 15:40:03 -0500 Date: Mon, 18 Nov 2024 15:40:03 -0500 From: Bruce Momjian To: splarv@ya.ru, pgsql-docs@lists.postgresql.org Subject: Re: fir for row level security Message-ID: References: <173045909386.700.9231055113418242392@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Nov 1, 2024 at 10:23:25AM -0400, Bruce Momjian wrote: > On Fri, Nov 1, 2024 at 11:04:53AM +0000, PG Doc comments form wrote: > > The following documentation comment has been logged on the website: > > > > Page: https://www.postgresql.org/docs/16/ddl-rowsecurity.html > > Description: > > > > Cite > > When multiple policies apply to a given query, they are combined using > > either OR (for permissive policies, which are the default) or using AND (for > > restrictive policies). This is similar to the rule that a given role has the > > privileges of all roles that they are a member of. > > end cite > > > > Not clear for what is "this is". May be better "The default behaviour is > > similar..." > > I see your point. Attached is a patch which clarifies this. Patch applied to master, thanks. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com When a patient asks the doctor, "Am I going to die?", he means "Am I going to die soon?"