pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Henry Francisco Garcia Cortez <garcortez@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: schema postgresql
Date: Sat, 12 Sep 2020 08:06:35 +0200
Message-ID: <86C9BF27-A856-40B2-BC2A-EF05AE0FA330@gmail.com> (raw)
In-Reply-To: <CAJP2v3EK6Rwk4GQid9E23QfGeQFvTp3eCk9NzZMf1Sw6-j-8cA@mail.gmail.com>
References: <CAJP2v3EK6Rwk4GQid9E23QfGeQFvTp3eCk9NzZMf1Sw6-j-8cA@mail.gmail.com>

Hi Henry,

> On 11. Sep, 2020, at 23:13, Henry Francisco Garcia Cortez <garcortez@gmail.com> wrote:
> 
> how to restrict a user from seeing a schema in postgresql

for example:

revoke all privileges on <schema> from <user>;

See:
https://www.postgresql.org/docs/current/sql-revoke.html

Cheers,
Paul




view thread (4+ messages)  latest in thread

Message-ID: <86C9BF27-A856-40B2-BC2A-EF05AE0FA330@gmail.com>
Permalink:  ../86C9BF27-A856-40B2-BC2A-EF05AE0FA330@gmail.com/
Also on:    postgresql.org/message-id/86C9BF27-A856-40B2-BC2A-EF05AE0FA330@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-admin@postgresql.org
  Cc: paul.foerster@gmail.com, garcortez@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: schema postgresql
  In-Reply-To: <86C9BF27-A856-40B2-BC2A-EF05AE0FA330@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox