From: Pepe TD Vo <pepevo@yahoo.com>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
To: Nelson Gonzaga <ngonzaga@yahoo.com>
Subject: Re: Hide function source
Date: Sun, 10 Oct 2021 14:05:33 +0000 (UTC)
Message-ID: <1955434795.1515653.1633874733175@mail.yahoo.com> (raw)
In-Reply-To: <1331401808.1491628.1633855833151@mail.yahoo.com>
References: <1331401808.1491628.1633855833151.ref@mail.yahoo.com>
<1331401808.1491628.1633855833151@mail.yahoo.com>
you can grant execute privilege to the user(s)GRANT EXECUTE ON FUNCTION function_name() TO some_user;
Bach-Nga
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love, and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing success
On Sunday, October 10, 2021, 04:52:54 AM EDT, Nelson Gonzaga <ngonzaga@yahoo.com> wrote:
Dear,How do I hide a function source code from all users except superuser, but all can execute it?Thanks,Nelson
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: pepevo@yahoo.com, pgsql-admin@lists.postgresql.org, ngonzaga@yahoo.com
Subject: Re: Hide function source
In-Reply-To: <1955434795.1515653.1633874733175@mail.yahoo.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