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 1rZVPn-004lxC-6J for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Feb 2024 12:28:03 +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 1rZVPj-009S46-Tl for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Feb 2024 12:27: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 1rZVPj-009S3y-GJ for pgsql-hackers@lists.postgresql.org; Mon, 12 Feb 2024 12:27:59 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rZVPg-006o1q-Rd for pgsql-hackers@postgresql.org; Mon, 12 Feb 2024 12:27:58 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-511490772f6so3765535e87.2 for ; Mon, 12 Feb 2024 04:27:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1707740876; x=1708345676; darn=postgresql.org; h=mime-version:user-agent:reply-to:references:in-reply-to:message-id :date:cc:subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=cp5GSGFAguTLbTDtB4vod0OQvVaOsnKklP5ba8AMD8w=; b=SAt1elYpVI+lQvvlmkCGxtywOB1gOPg7zoxN5BOtbp2DU5QV8iuP+yGYw447ZLlOoc c83zDsci2G6ABhaLkZe9mIONCJJyNwGJq/dfoYrlKPgd8gaSkoLk/bEpjkdVIoh/ISNY GHi29AtntET8Bk+GB+6GeN+xNl9iTW+rCLzBktAJ+qgPGeLDMXllkShfxWYVzToxKaEo Le+E5IGrlQ2QobymRaqit+Vjx9WbdNjAWGe2Oltwrm2uln0S9vLtREqWVzgBL6Wi17pY c1NooHKjEEhnUOtsHUDopoXK2S+glQQ8T8abV7TiTU7t60sdJngqODVvq+qGCW+qzY9U 04uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707740876; x=1708345676; h=mime-version:user-agent:reply-to:references:in-reply-to:message-id :date:cc:subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cp5GSGFAguTLbTDtB4vod0OQvVaOsnKklP5ba8AMD8w=; b=oMbdImZFg0Mgq2kdNVVRaoz8HgwBUMqOcsghpUK/QrcXb8vM5f1iFIVRuMUWYzjBPm 4u6YZ0oNSbDC2AVb/T4aaJi1cONDprhNUVhRZTAWcWnA0MzUVarXoITLLjxfuPhGUeY8 SvsH7yfAtmCWaLIrfhS7xAZyWd5FJJUReppWkfCAY6LMN3LNoetAq5za8ttgp0KEYsnO C78gQQ7fE2v1+KD7JqxAiG/7E3vCRyfPZcfZKvE6ocpWYuDQX45PWrvU3vJBjXTjYLbz Sul8266KJLkv406qCz39vCETnKDwC2P6LyrJXiSu5+qMUDq7UOZBNVg53Rjsgqqig9jN JTDQ== X-Gm-Message-State: AOJu0YzXDRa7hA25Ge5qc8jHdAzz81yV6R9MC9lassM3RPlc3Gi0I9x1 j8Y/xzrEOaNUo2HZHIIeIij5Us3G8MVHaDKV8k8sv+R9VrEL12msnM76fjm2WNE= X-Google-Smtp-Source: AGHT+IEhCllHwJ3kyXBEWq37Qxs0KOTT2CYDrJJ3iOZB4O6Q8jkBn4NtUKR9IwqXzYtSmNQDSMWw6g== X-Received: by 2002:a05:6512:12c9:b0:511:850b:3665 with SMTP id p9-20020a05651212c900b00511850b3665mr3992712lfg.64.1707740875693; Mon, 12 Feb 2024 04:27:55 -0800 (PST) Received: from [192.168.0.167] ([62.197.243.85]) by smtp.gmail.com with ESMTPSA id g19-20020a05600c4ed300b004103e15441dsm8681544wmq.6.2024.02.12.04.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 04:27:55 -0800 (PST) From: "Pavlo Golub" To: "Nathan Bossart" Subject: Re[2]: [PATCH] allow pg_current_logfile() execution under pg_monitor role Cc: pgsql-hackers Date: Mon, 12 Feb 2024 12:27:54 +0000 Message-Id: In-Reply-To: <20240209163657.GC663211@nathanxps13> References: <20240209163657.GC663211@nathanxps13> Reply-To: "Pavlo Golub" User-Agent: eM_Client/9.2.2157.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------=_MB12310FB7-AC8A-4B41-8566-B58BBB73FEA3" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --------=_MB12310FB7-AC8A-4B41-8566-B58BBB73FEA3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable > Are there any other >functions that pg_monitor ought to have privileges for? > Not that I'm aware of at the moment. This one was found by chance. Kind regards, Pavlo Golub --------=_MB12310FB7-AC8A-4B41-8566-B58BBB73FEA3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Are there any other
functions that pg_monitor ought to have privilege= s for?

Not that I'm aware = of at the moment. This one was found by chance.

Kind regards,
=
Pavlo Golub
--------=_MB12310FB7-AC8A-4B41-8566-B58BBB73FEA3--