agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: intmail01@gmail.com <intmail01@gmail.com>
To: pgsql-sql@lists.postgresql.org
Subject: How to revoke access and list schema objects
Date: Fri, 13 Aug 2021 16:00:31 +0000
Message-ID: <56050f06-8382-07e5-19ce-261cb4ebdffc@gmail.com> (raw)
Hi,
There are are some people who use my database and I want to prevent them
to read code of tables and funtions. I have created a schema in which
only postgres user can have access. Other users can not use objects in
this but they can list all sql code for each object if they use pgadmin.
What is the command to prevent users to list objects and prevent them to
read the sql code.
Thanks
view thread (2+ messages) latest in thread
Message-ID: <56050f06-8382-07e5-19ce-261cb4ebdffc@gmail.com>
Permalink: ../56050f06-8382-07e5-19ce-261cb4ebdffc@gmail.com/
Also on: postgresql.org/message-id/56050f06-8382-07e5-19ce-261cb4ebdffc@gmail.com
reply
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-sql@postgresql.org
Cc: intmail01@gmail.com, pgsql-sql@lists.postgresql.org
Subject: Re: How to revoke access and list schema objects
In-Reply-To: <56050f06-8382-07e5-19ce-261cb4ebdffc@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox