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 1w4XpP-002IZF-2B for pgsql-admin@arkaria.postgresql.org; Mon, 23 Mar 2026 05:27:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w4XpN-00FX0w-1i for pgsql-admin@arkaria.postgresql.org; Mon, 23 Mar 2026 05:27:49 +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.96) (envelope-from ) id 1w4XpN-00FX0k-05 for pgsql-admin@lists.postgresql.org; Mon, 23 Mar 2026 05:27:49 +0000 Received: from mail-dy1-x1331.google.com ([2607:f8b0:4864:20::1331]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w4XpL-00000000ZS4-2xKV for pgsql-admin@lists.postgresql.org; Mon, 23 Mar 2026 05:27:48 +0000 Received: by mail-dy1-x1331.google.com with SMTP id 5a478bee46e88-2c0bb213b16so6793311eec.0 for ; Sun, 22 Mar 2026 22:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774243667; cv=none; d=google.com; s=arc-20240605; b=DomSYV2veGiD1J92PLIusrF/stWti4bMaV3jJ+k5bobXb277ayDor3YZP49ZIY/ADs eCCxVLKB1vYBMYyfJ8nHgMkBuuc7tdNc6p4dblgfXtBZAonsD9lxROtUnDALekxI4kKM RN4RJCbAe4Ts1GaXgihvmUhlfoVsNtb6fLHObytU5a3euVqOE0xzA/GO9Z/06wZULNVe 6O6C9pkf12YfLQ13CmlHGY72VNyZxdtbYR1clpWan9/x1TRD/ph+UV6wcObPOpkwHsqe vuFNUKE6+za/kqiivUVWA/DtuXHKYCiEwwHOjm0xFoI9JFxEyEBi7ckCIQZXc5sk0Hj5 63Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=NT01rVe1vY55DSpJGGYbdC3rAscMFAcrXj6lWMZeME0=; fh=6BqiDMXvR8UOj5VgVD2d95D0QGsqtcs5pe8uDgNJQDQ=; b=Zt9aYlyrhuEfXD5f22MUtBa5jYML3OgUu88aWIj6KKPzW4f6vzLGwdfO6NFESRXJ15 mfSsnOnI6JUyay+AophviViGrIa/W+kD7GNUxPdKE4ualnUAWqGW/kDjvY1yYg5uO3ja py9R2ElOCY53VkL6/EKtdf/piok+sYhBErR02PChepxqoDykcTKpKdI7Jk35y9eEi8Lg Gr0KgV3/Ra/FYAAvgVP9YrDBAkNs4R9DFf1cgBoTXEugZCGNvO7YIa4l2lZ8siy1zMRp aAV3cGBXbuIcjGmK3Xe5zsZbGU+hPysPcvH+cTYFcA/rbFs5YkzidMF8jJxdW5eCuNfU klRA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1774243667; x=1774848467; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NT01rVe1vY55DSpJGGYbdC3rAscMFAcrXj6lWMZeME0=; b=ICqNuCYefR+U1UF6Io1Nc1yaZJemCTTb0TA9uoMaoqf+H1y57xoD4sEri45rzHkV5R WiKiZXQop6z1B10LaWwPaFV+VsvWe55LUJG63VAn55TatxWpqUvTEvPCA6Sp8qrsyDCg ljPIjNDoP/Wg701OHpV77Rf23kNLAzoF4vfYNi1YyThUurPdgPKn4Xi/J+Q8sn5OakpA ggIWLLJLwabHpy8TsMV08r3rEgV/VfWYWy2ZmcEKKCMuJlAvtTD9jTtEpuCZaT4DTXG7 7uIS9sUPBjCzcrG3ZQQR+RDV4An79swQTOZcAuMnI96v5pScBCSPXuZXXUuL7pqIeMsr znlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774243667; x=1774848467; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NT01rVe1vY55DSpJGGYbdC3rAscMFAcrXj6lWMZeME0=; b=IjNybqAboDALdgtFv/EckKa/8yTVk9dTIV7Ws//aK0W+IcPFkqzzLwQoSFFAVhg/BS HZQ9XJyUl7ma2r6YBtp1QHZ3v3T3OhEun7uZt3ZV5tLvwLG/Cy7or/JYwNuG/7Qv1GLq g8WehlcVPOu4ScEsG5pTtzRY+MkmMU8amz525M8oLDk7nxpzOI6q7uoOakUr2vWG2A0B N1hJUS6vK5TpR6p2tPYytUrGyLxJTN9ni6bTON6xsFd8ay3CI/ggmbDEED0YAeBJWCzT 7HpjyAc4ufZoEIKOWthyI50Nlh3/7PQ2EJT52VPMbdIV/Z7WBGQhgxGi65PAzmy9RNr/ +E7g== X-Gm-Message-State: AOJu0YySEd8QdjkuZjs85YT2sUWTaaIOhmwyj6VSA6MFVEiN4SclPDru XNccefDJE9hjSgtGp2xydtvgaeS0j18qL/zZpfNX9lihyoQBYjrB3NOzRcRu3N7wwraKFCrHtT2 CAUp3cfXFtbRh/cg1ruQqBO+ERlIqwn0= X-Gm-Gg: ATEYQzxcwEKWpLU9Yo5Rtix/p8yfaiB4CTZy8Va0f7n0txvAncqsDqoQx/gQKhxUXNf 6QQxJznex+NPNP/ID70xgBjBmiqyFR3luHja1DkcwiZ1HN+QSoR8/6ygBtAenUMTkQ2HAofngvl 0P10uIBTQ5uy1r+BBAS9EaaJ6WeAxJEwdaz4ftNIGjh8akSG9fWC7nn5ThpRFmHUt4NOjsGWMZ0 VREa/UMtDOsWAkpFLgdtHJLo+W4wPNufriHCOzfapgBLIwh4qbBFc3BMhDi2+Ku6oEpOnMWCIxY PtmwSeFnsv1YxA1f8wKww9Qtn2agiEZ+kRnGbdE= X-Received: by 2002:a05:7301:3f07:b0:2be:3cd:62bc with SMTP id 5a478bee46e88-2c1095f6fc4mr4872022eec.13.1774243666551; Sun, 22 Mar 2026 22:27:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Edwin UY Date: Mon, 23 Mar 2026 18:27:09 +1300 X-Gm-Features: AQROBzAu1xYQHzbGzEV4qlw1Kle-2XJvDQkT9Vw02ELzQrnzYRFmT5QWzs-YZOQ Message-ID: Subject: Re: Is the resultset from these queries has_table_privilege and information_schema.role_table_grants supposed to match? To: "David G. Johnston" Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="0000000000007d66fc064daa4b86" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000007d66fc064daa4b86 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for the clarification. I've logged in as the grantor now and am checking. On Mon, Mar 23, 2026 at 6:17=E2=80=AFPM David G. Johnston < david.g.johnston@gmail.com> wrote: > On Sunday, March 22, 2026, Edwin UY wrote: >> >> Is the resultset from these queries has_table_privilege and >> information_schema.role_table_grants supposed to match? >> > > No. > > The function performs inherits resolution and you specify an anchor role. > The view restricts itself to the logged in role and just reports actual > rows created in the database (i.e., the things granted and revoked). > > David J. > > --0000000000007d66fc064daa4b86 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you for the clarification.=C2=A0
I'= ;ve logged in as the grantor now and am checking.

On M= on, Mar 23, 2026 at 6:17=E2=80=AFPM David G. Johnston <david.g.johnston@gmail.com> wrote:
<= /div>
On Sunday, March 22,= 2026, Edwin UY <edwin.uy@gmail.com> wrote:
Is t= he resultset from these queries has_table_privilege and information_schema.= role_table_grants supposed to match?

No.

The function performs = inherits resolution and you specify an anchor role.=C2=A0 The view restrict= s itself to the logged in role and just reports actual rows created in the = database (i.e., the things granted and revoked).

D= avid J.

--0000000000007d66fc064daa4b86--