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 1uuBtU-004KoW-2A for pgsql-general@arkaria.postgresql.org; Thu, 04 Sep 2025 15:29:00 +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 1uuBtT-00HF4R-61 for pgsql-general@arkaria.postgresql.org; Thu, 04 Sep 2025 15:28:59 +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.94.2) (envelope-from ) id 1uuBtS-00HF4H-RH for pgsql-general@lists.postgresql.org; Thu, 04 Sep 2025 15:28:59 +0000 Received: from mail-oa1-x33.google.com ([2001:4860:4864:20::33]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uuBtP-000YQb-0Q for pgsql-general@postgresql.org; Thu, 04 Sep 2025 15:28:58 +0000 Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-315a297f9a3so977881fac.3 for ; Thu, 04 Sep 2025 08:28:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1756999734; x=1757604534; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RmJihlyFeMML+SO2qbeWMS+N2gpuRpDFGOFPAiTZWMM=; b=OVQZ7zjAKaWe6Vd5zz/Gxu4DS8ClKyz5pXz+Bcl8dEkcABwVdgVK61glHqOjkQXTSg 7AP7y5nFVSUh7+aq8PgOtqbasLfkv9lIFNI21KEZ0i3e3Sdt8HkYgk4XOUnCw0sriBJU SwSzRR3QOODMY34cTlW/Xpckv18/jIkGTUDnvkrCvS9YaFYVWPHBUj7VRb5r+WKBgaDt sfIbQH6YdKWQ+phgL+q99D+mnUkOwkTAKDhMTpYqG8oda9hMTu14MFnIC6yiHNhelJ/K HS9WmtN03+z17QfaE06BgLaWNrycWWqgbosXlJSI8GYhzgvmKILWORRWfLADZ3L/eB99 Q3lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756999734; x=1757604534; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RmJihlyFeMML+SO2qbeWMS+N2gpuRpDFGOFPAiTZWMM=; b=TdgB4lFfWK7K7ShMlDxNDc+TAAEkWTT/Bl7inPPWihG4TEzAYlXCWrYH6PRlZBwg+S kZrCNpP8YkLJ7BPdyyDXYuyUOF+BVWUA7aP9A9NrrEM9LjpnEcxKWRTGVQbowOFih4jI Zrt1xz32VVSMDu2o/HIdjs7afBFyRTiKCfAUjokgCPEWevLOSq09F/dOHqxTCT/wNrdU gbZc87Hx3/fcC7LY+FRucdSrNFrDHS8PfRBzh6CYER+omFtE8ugYsTotZ0vR17oDG7th hU78fQCLIUZpPLOEbwnYvGfqYQ5KQPVYrwsSWaD+zP4nucdINfhHZkqTInE329f1ZnIo sAwA== X-Gm-Message-State: AOJu0YzoCxd+89Sk3GaYccuIf1hZ/U1hoqXlc9PU/cJba2IOu9Pi7f2d 7uowYF9ESfz7jkkW1anxjOkfKmWcIakfimg6M6VJoEKbGVPpWhDaIQRohHwhnwKwlEvgayRoekM iZruT96kW6q8rgidzmicmw30NRHQDzXh3yA== X-Gm-Gg: ASbGncssgEyMBUwN99myK4VUw6VhTDNPofqz5raGcUuOsidE7D1wMJS94smLIn6ubj3 bb8kw/LPoC61vi3LYdZMJHbYfSZHsa6tngbq0mXh+3AMOxZarIctFlafDqIkQBJ+3S0TUzrAuM1 xxwHbaGYcP49tm3YUDKbqci8uuP9TE7EVhin01ACF+uOBryH0Q++G6wmCpWkSMiUfOmt/D8hOTe pRamKK4tYg4ILBvQlPH X-Google-Smtp-Source: AGHT+IHip3d/AdgRTOdWTU/cUOUqPPfBf4ibsnJQBUEvvgzn0WytDoaety0nOUGyvgUzx6MpId/WmT7lcJ83hMuKl6Q= X-Received: by 2002:a05:6871:2906:20b0:319:c5ac:c375 with SMTP id 586e51a60fabf-319c5acc5b2mr4066339fac.10.1756999733752; Thu, 04 Sep 2025 08:28:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dominique Devienne Date: Thu, 4 Sep 2025 17:28:41 +0200 X-Gm-Features: Ac12FXx3UqD-Cn1EmsCcKqGEnJL_omfQbf_8W_qUqVk5i73Wd8Eh0Jc6iLUGRpE Message-ID: Subject: Re: Latest patches break one of our unit-test, related to RLS To: Laurenz Albe Cc: pgsql-general@postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Sep 4, 2025 at 5:18=E2=80=AFPM Laurenz Albe wrote: > On Thu, 2025-09-04 at 17:03 +0200, Dominique Devienne wrote: > > OK with 16.9 and 17.5 (we cannot test on beta2 anymore) > > KO with 16.10 and 17.6 (and beta3 too, released at the same time) > > > > Which for a minor patch is a surprise to us, not in a good way. > > > > So... Did anything change around RLS in this patch series? > > Anything changed around ROLE INHERIT rules? > > > > The symptom is that a LOGIN user lacks ROLEs is used to have. > > So perhaps some GRANTs are now silently doing nothing, > > for some unknown reasons. > > > > What in these patches could be affecting those areas? > > Without a reproducer, that is a wild goose chase. Oh, it's easy to reproduce here... But distilling it down is no small feat. But this is a patch. Patches are not supposed to break things.