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 1rtVu5-00FIE0-7X for pgsql-general@arkaria.postgresql.org; Sun, 07 Apr 2024 17:02:01 +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 1rtVu4-009Rac-4Z for pgsql-general@arkaria.postgresql.org; Sun, 07 Apr 2024 17:02:00 +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 1rtVu3-009RaN-Qd for pgsql-general@lists.postgresql.org; Sun, 07 Apr 2024 17:01:59 +0000 Received: from mail-oo1-xc31.google.com ([2607:f8b0:4864:20::c31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rtVu1-001Q6s-9d for pgsql-general@lists.postgresql.org; Sun, 07 Apr 2024 17:01:59 +0000 Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-5aa400b917dso28732eaf.0 for ; Sun, 07 Apr 2024 10:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712509316; x=1713114116; 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=O7zr/VFZ6KZLT73O1Zdjn4F/T13gmuC1gPZw05K2kd4=; b=nkj0FU848ftgfDvKuvIjNy3zFiVW3gKE8e7YLg+7fxy7v0YzWdnPmxn0CPh4nwh3bc +T/sotwl0r8GQhdzjUSf3YX5Wzoo3HgT6hwQ9tThnALEBKejDKEq+iFnw2SuBo06Gd5B E9/Bc9bpKfGrQo35+gzMZlcKvr53qSQnf9fbDDQiUliwb8cQcpl/HBdfQR3v1+A4WL5P t4LeaZG+cLY5jmdiejEz3Mju9JSc8V3wnFByv0nT3Lh1cf/lea9qaVb5uMvzqmT0d14J qOxxXWDStzFtKiy4kZsPEmauA4Hnab/i25Cqhi4O4zX1Lz89hv2qm5u1MMq/CM2ANWCH 0m2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712509316; x=1713114116; h=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=O7zr/VFZ6KZLT73O1Zdjn4F/T13gmuC1gPZw05K2kd4=; b=ADRjiXFbwc2WbQ1SBbRiMAtb8M/lFP7EWAX121r7WrWxW9UpSXmRCRnu/c3efoQwZA u+vQDPZ5K60N8Zd7XvukbKis2kJwj6XIEdlP94pdd1RwGCj43bjXqWlmP0YzNCfWK0EA KqqDKxQq/LCFaiqvXW4j5k43t8jkck1sckHfWVSDoKCaPkRpIHwMPcr1SDW8nedE8sNn wqRMPHK2Yy38N8A3YRu7T50znYSiDSdKPZkAaFeqPYfDthNrDdJ9ztAl0cVeipCGcUAe zxbCs0BVRTYM3PSqBNX0yqCFXXx1dtORJK+Gxy1x8PHRJSXmzCIY6cWj04SWQJZB8JaB pYxQ== X-Gm-Message-State: AOJu0Yw/K9iZD3pJBX7gY7qLYY8zvaTX9h4zTmCzY12akNZdeoMVV+Xa hNR8sE0XU+EUfa45TDrmP2jZGiXm4eQVbRZVYdHQe//Smc3Hv9jeOnG2Hi6wUEMyCe7fEr4asOU 8YgLuDYwNAJe/XT63AidgV+H9MQo= X-Google-Smtp-Source: AGHT+IFLf1Fcwcp82dKbfdM0MO7aGS2KBTaSl4jl9YowlDekQ55qC/Nqn3Noy5KnBbElKTC+Db4m0M/lrRBoTekgeDc= X-Received: by 2002:a05:6820:987:b0:5a5:2105:f209 with SMTP id cg7-20020a056820098700b005a52105f209mr7834667oob.6.1712509315767; Sun, 07 Apr 2024 10:01:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "David G. Johnston" Date: Sun, 7 Apr 2024 10:01:18 -0700 Message-ID: Subject: Re: Clarification on View Privileges and Operator Execution in PostgreSQL To: Ayush Vatsa Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000070e434061584a573" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000070e434061584a573 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Apr 7, 2024 at 9:32=E2=80=AFAM Ayush Vatsa wrote: > but who will execute the > > underlying function inside the ( > ) operator ? Is it postgres or alex? > >> I'm reasonably confident that all the built-in functions are security invoker. Not that a pure function like greater-than really cares. David J. --00000000000070e434061584a573 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Apr 7, 2024 at 9:32=E2=80=AFAM Ayush Vatsa <ayushvatsa1810@gmail.com> w= rote:
=C2=A0= but who will execute the=C2=A0
> underlying function = inside the ( > ) operator ? Is it postgres or alex?
=C2=A0
I'm reasonably confident that al= l the built-in functions are security invoker.=C2=A0 Not that a pure functi= on like greater-than really cares.

David J.

=
--00000000000070e434061584a573--