From: 高 云龙 <gaoyunlong@biss.com>
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: A function privilege problem
Date: Tue, 23 Jul 2019 08:07:04 +0000
Message-ID: <21A88F6A-E654-4FDE-AB06-3FDBDC0EE231@biss.com> (raw)
Hi ,my postgresql is 11.1 and find a problem about the execute privilege
Now I have a new db user and a UDF. The function’s body is update a table
When I run grant update on table xxx to the new user, find that i can execute the function and don’t report "Execute permission for functions<https://www.postgresql.org/message-id/4C2BBAEA.6040805%40gmail.com; xxx”,Is this right?
How i find which db user have the privilege to a function? and the \dp+ or \df+ is not work.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: gaoyunlong@biss.com
Subject: Re: A function privilege problem
In-Reply-To: <21A88F6A-E654-4FDE-AB06-3FDBDC0EE231@biss.com>
References: <21A88F6A-E654-4FDE-AB06-3FDBDC0EE231@biss.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox