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.96) (envelope-from ) id 1w2uzM-000jFE-3C for pgsql-bugs@arkaria.postgresql.org; Wed, 18 Mar 2026 17:47:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2uzL-00D53c-36 for pgsql-bugs@arkaria.postgresql.org; Wed, 18 Mar 2026 17:47:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2uzL-00D53T-25 for pgsql-bugs@lists.postgresql.org; Wed, 18 Mar 2026 17:47:23 +0000 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w2uzI-00000000ySN-3MLY for pgsql-bugs@lists.postgresql.org; Wed, 18 Mar 2026 17:47:23 +0000 Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-7d7c5b8cb24so99482a34.0 for ; Wed, 18 Mar 2026 10:47:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773856040; x=1774460840; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=x5NOGtEgA3C/fTRhK+ZwWd5+FkM3n8hBmN2MsEWASKI=; b=KePzYhalpzYTvSmIrB60pZcrSHFUL9cea/UjvDoGGDV+ZMpxNJYXrWw3PnEzBxEdAc UKxogzPUB6Gd+DzXOvej/cLgXrVEsIaQBdGo00Jy9PT00HubUZbWWaVq55BDFhADKnIr i+O2upNNZfDOO1SNf7gYLsDx0Gd699WGUPuZD6nAnw7P9Ny3vNA7pIatPWVh8E1E0QoP yIF5dHAXp8km4ZZCgf6iMY1rWgbwcgZiSNS1rtqAxF/wV08YrEn1zWZCYrqIHiddUq8T rXU0lhbTMWEsGA7034vakKaSqyCbe+sHiKe9xBVOSwTxcypXAk0ED7IV5rc897RFVgdf zxxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773856040; x=1774460840; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x5NOGtEgA3C/fTRhK+ZwWd5+FkM3n8hBmN2MsEWASKI=; b=GhPKOAMLrkE92WS0jWZPQ9B1ZEDH9pgdJ18iBJQTayuON01nimqKtcUUSM2FhN2wCk bSb1hBZiEm2lrzEjn7Ol2hQuE8Pq5fTTCPCD/ZaGG0htMwfqaBamVWdsKZwb6He94tXI ObBYCE72hQ6yckM0M9g/VLLFiyhDbcJZI+ZIQCh2L+jRudoEaS+XRSSVzijo8tSxNFg7 THvgLp+XCBuvokq58ulJuftZWffKAi+dRfXrqbQT93sH310WpHV9mznoRlyULH2BSdXb XB/w8SG81+BMT/rlN2XKbZGY5LyfpAjzs+qCKVNnwqU1OABPEKKGowE/kN+WgBtkdk+G /fkg== X-Forwarded-Encrypted: i=1; AJvYcCUXeQHkcKSnDW/p5jjOdjWWf1J4rkXP1OwWNROECKIunzvqI5Ft8WYx19vvyy7qCKp/GdOpMVOtQSN1@lists.postgresql.org X-Gm-Message-State: AOJu0Yxl3hyQJRKwbL/vE/5x45nOpI12R06OM1Fr/L4aoTE2GLHbFCRs pjnNQ8cLNvKUuv6V6eJreyX5VBc2U3oMqJy+ViYgxJluUT0EstZbbSA0 X-Gm-Gg: ATEYQzydhuPAHWKGbE0zbp9CMFsBNq0FWXt83KD73y54v6pMk7HUNNumYgjrreBcCds 9UmgfNYUE1twNVRj1bybVuRGMX6/vTikRiGq0zdT1HIGLB/8rX+rUXP1ab4IZW5R8dODYv+Uevv k25DaSSqw9GOgH6UU/LKBPDD3JcXJEEy7X1eDbGMAfBPq1ZAdT1B/CUUeDIae0xiOvb9M7LxAFO MyefIjrhb5gDL4mKWHeWr8+NOk8QJWbntTS1gU+waKFx5C292F7cMbgcH3wwcRBhS24sx6MN9Ws xP6NwQudJCKmD8eRL5KHgoZdEpEuGcuQw2q7qsyiUkZ2cI5g7PrImh3J4GeDyR5/34kSJoL3vS9 tXkZUQLIx12XlvsuJ4DyXVOkcmcEVePPmvd01VLxOpApBxXqbPf9e4/HKaJILKUCawludjJuxvZ ZlLEIVhdVp0WZMzeDCg91fWODgR4jEefyb+DWRk7qZ1lOp+OIXBxtJX7ebzz8eTBfoybX/o1k+i fDL2YfhWidcHziQpSBVAQ== X-Received: by 2002:a05:6830:380b:b0:7d7:48fc:d985 with SMTP id 46e09a7af769-7d7ca792de0mr2541886a34.20.1773856039524; Wed, 18 Mar 2026 10:47:19 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d7c9b837f0sm2492095a34.21.2026.03.18.10.47.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2026 10:47:18 -0700 (PDT) Date: Wed, 18 Mar 2026 12:47:17 -0500 From: Nathan Bossart To: Tom Lane Cc: Robert Haas , Peter Eisentraut , "David G. Johnston" , "Ing. Marijo Kristo" , PostgreSQL Bug List Subject: Re: Revoke Connect Privilege from Database not working Message-ID: References: <3467676.1744041977@sss.pgh.pa.us> <1933586.1768950341@sss.pgh.pa.us> <2222571.1769014621@sss.pgh.pa.us> <770633.1773851777@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="a6GP3SbSyGuiJyTH" Content-Disposition: inline In-Reply-To: <770633.1773851777@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --a6GP3SbSyGuiJyTH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 18, 2026 at 12:36:17PM -0400, Tom Lane wrote: > Thanks! I was about to conclude that "silence means assent" and > do that work, but you beat me to it. Your changes look fine, > except that where you have Thanks for reviewing. > + ... A role can only attribute a grant > + to another role if they possess the privileges of that role. > > the word "possess" seems a little ambiguous --- it's not clear whether > it means SET or INHERIT privileges. The grammar nerd in me doesn't > like "they" either. How about s/they possess/it inherits/ ? > (likewise in revoke.sgml) This crossed my mind when copy/pasting from the "GRANT on Roles" section, but I obviously didn't do anything about it. Fixed in the attached. -- nathan --a6GP3SbSyGuiJyTH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v4-0001-Allow-choosing-specific-grantors-via-GRANT-REVOKE.patch