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 1uNLim-00HZ2C-BI for pgsql-docs@arkaria.postgresql.org; Fri, 06 Jun 2025 01:18:12 +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 1uNLii-000dOw-RI for pgsql-docs@arkaria.postgresql.org; Fri, 06 Jun 2025 01:18:09 +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 1uNLii-000dO3-Iy for pgsql-docs@lists.postgresql.org; Fri, 06 Jun 2025 01:18:09 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uNLih-000Tvz-1K for pgsql-docs@lists.postgresql.org; Fri, 06 Jun 2025 01:18:08 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3a3758b122cso998988f8f.1 for ; Thu, 05 Jun 2025 18:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1749172684; x=1749777484; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=PwcPw4AJvJ5IGcgAKn2jXXendVIfv8I63gK0S3ZCglE=; b=FkF7rFlzC8PD8NYKr/IneJ4BJ90HlMIwj0E2C90Hj+tpr/eJ1kIT+SIIIlW2xlhePn 5Z7UZkKo51fYpw7+OYwSpFc/GTvWgW8atdjnv/Z5YkdKU+GdCn7BGy0tOCZnNQ2n20/l I118KA8QTI9i39rY6zMKF6WCLmDLAT3R6MDfCiHmWbPnTFlESsu98bratoyse1EuANEg o+s+uN/lxFSQl/bH1r1Pj0Eof/bkovqtDgOBWnNWyHJRCeMk+RLY9Tdv/yeCVJpo/Fyr AVr52ir8V9zBKU9n0rEI/IQZcRGbEHuXTC1u8jCfDuNYqJmv0snkrSUrYjqhfQUol6YN 4eAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749172684; x=1749777484; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PwcPw4AJvJ5IGcgAKn2jXXendVIfv8I63gK0S3ZCglE=; b=RQljsyM/uzAy5QAR0l/rg/kcEs6FkAXnYGaFFxF6Hs0pMCkwfLmG35LzIFzlIAAMPE Q+BKV0XXO2zB0IB6hmXPhavY+v1oe1MrTuaycsrDSmz2x9TiTiX/TyDoOQlKZo/jCBF1 uWCbYvEX6EMzYZdSrwyeA+46dlw+tJHT2SCDqCPLVQSGxRYu7uAVqf2EdT7cUHy2dc/g 7HNm29OkjZoeHQ74USwq5iiQJkRaN78Hk3Lu/EHrdKUWADDP0S2z/73+eSZBRGQ4qRtY hDnruf2ZkvifLwUV9e9JtWVb+nXxx4CDmzj5elXR5Y6HjZaMUVAKtojyC2HPGwTAIlLs 0UGA== X-Forwarded-Encrypted: i=1; AJvYcCXAV4njAX/1w904bgfnmCrVMdxJBGZUcVr9Sk3+UVECJguf9tHmbQA/l6hxki6KmLoeDsDx54p5AGJI@lists.postgresql.org X-Gm-Message-State: AOJu0YyOh1TKi4V1NQvbxN74/PN8VuqUq1Ixcr/Sa14Nh5DengLQDoa8 R+q45AkXLaoAzm9vNJT61VyPogJagyz8x8Y3eT9oCMj7hHUSZbYNiOH+e1atF3quqRKtosYjxsV HwSG0 X-Gm-Gg: ASbGnct21G4+QfLLTw3oPjxO2EF1uaknrXAH0bO52Y09Fe6mRT+rm1ecQHW84kuLrtl 075ABXvxt7nqkbaUVZ7H4F0TI6U3KX1jfUN/YMqTwT9pj9rpAzvXNUoMl/hu6BvpRtQel++IP1W jtldF0c9UyhpKKh3VkeEa9W8ggU9F0Ft9cR17NmgkNVNq+WF1IdtIaGDTS6EG0gyJJEcbMiF9Pc 9tf1aQ5qPixXyyeo1JtV9m67/A/yah7hE7ofzQylMOuOhDFQjKGD+tnDsjGgTTy09avDozAH87h h+R8N1YJHajd2NIZPYkYGUAPwmAeyotAOaP0VT6exxvzmd1+5yS4+qFcr51osroQbtNsOKQkMsv S0+2PGN95jG0StSgkjyv+yD8= X-Google-Smtp-Source: AGHT+IHcqH+R4HSX1t+T7LIBYAOo9rXEA0+puUx4MW9IjkCAwJc1tsaEw5+0J2U75AaIykPDyV8Lxg== X-Received: by 2002:a05:6000:2dc9:b0:3a3:5c05:d98b with SMTP id ffacd0b85a97d-3a5319b4d53mr1098403f8f.5.1749172684096; Thu, 05 Jun 2025 18:18:04 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([12.191.77.52]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e81a4157e64sm171140276.28.2025.06.05.18.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Jun 2025 18:18:03 -0700 (PDT) Message-ID: <199dfdd7fdea9ac1d654442dd154f3ef6f6db51d.camel@cybertec.at> Subject: Re: Add sentence about SECURITY LABEL object ownership From: Laurenz Albe To: Tom Lane Cc: Patrick =?ISO-8859-1?Q?St=E4hlin?= , pgsql-docs@lists.postgresql.org Date: Thu, 05 Jun 2025 20:18:02 -0500 In-Reply-To: <1284778.1749136742@sss.pgh.pa.us> References: <931e012a-57ba-41ba-9b88-24323a46dec5@packi.ch> <2c8f7b87b68fd2084faebdcf48b4edb23f4e93e0.camel@cybertec.at> <1284778.1749136742@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2025-06-05 at 11:19 -0400, Tom Lane wrote: > Laurenz Albe writes: > > On Thu, 2025-06-05 at 15:29 +0200, Patrick St=C3=A4hlin wrote: > > > I noticed that we don't document that you need to own the object bein= g=20 > > > modified by SECURITY LABEL. >=20 > Yeah, clearly a documentation oversight. >=20 > > Wouldn't it be more accurate to say that you have to be a member of the= owning role? > > But perhaps that would be complicated enough to confuse many users. > > In general, +1 for documenting that. >=20 > Our standard boilerplate for this is, eg, >=20 > You must own the table to use ALTER TABLE. >=20 > I don't see a reason to do it differently here. Objection withdrawn. Yours, Laurenz Albe