Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ijWVH-0003eB-65 for pgsql-docs@arkaria.postgresql.org; Mon, 23 Dec 2019 22:48:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ijWVE-0003nd-So for pgsql-docs@arkaria.postgresql.org; Mon, 23 Dec 2019 22:48:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ijWVE-0003nV-Hu for pgsql-docs@lists.postgresql.org; Mon, 23 Dec 2019 22:48:40 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ijWVC-0005X8-5a for pgsql-docs@postgresql.org; Mon, 23 Dec 2019 22:48:39 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1ijWVB-0000x4-7l; Mon, 23 Dec 2019 17:48:37 -0500 Date: Mon, 23 Dec 2019 17:48:37 -0500 From: Bruce Momjian To: Jeff Janes Cc: pgsql-docs@postgresql.org Subject: Re: document effect of USAGE on foreign server to dblink Message-ID: <20191223224837.GA24866@momjian.us> References: <20191219164314.GO30116@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Dec 19, 2019 at 03:54:44PM -0500, Jeff Janes wrote: > > > On Thu, Dec 19, 2019 at 11:43 AM Bruce Momjian wrote: > > On Wed, Nov 27, 2019 at 11:33:03AM -0500, Jeff Janes wrote: > > I think that the permissions around the usage of foreign server names as > > connection names in dblink should be documented, as in the attached. > > Uh, this looks like an odd place to document it, since this part is > talking about permissions. > > > Yes, giving this permission gives you usage of it in a place that is > non-obvious, and that the doc  doesn't mention.  Isn't the place about > permission the correct place to document these non-obvious permissions? How is using a foreign server name in dblink a permission? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +