pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jayadevan M <maymala.jayadevan@gmail.com>
To: intmail01@gmail.com
Cc: pgsql-sql@lists.postgresql.org
Subject: Re: Hide some tables
Date: Mon, 9 Aug 2021 19:09:47 +0530
Message-ID: <CAFS1N4j8tEDap7sEeZDsQPSCbrFZwjbRYmyTAYPBA+yMP+2_CA@mail.gmail.com> (raw)
In-Reply-To: <2a4f55f7-b8fb-4937-9136-c7e35de63f79@gmail.com>
References: <2a4f55f7-b8fb-4937-9136-c7e35de63f79@gmail.com>

There are some operators who enters data in my database with just one
> table. Others tables are updated by triggers, these tables contains
> result of calculation. How to do to hide these tables because I do not
> want that operators read them ? On help documentation it is said that I
> can not block SELECT privilege because it is required for UPDATE.
>
Can you move them to a different schema, and manage using search_path?
Regards,
Jayadevan

view thread (4+ messages)  latest in thread

Message-ID: <CAFS1N4j8tEDap7sEeZDsQPSCbrFZwjbRYmyTAYPBA+yMP+2_CA@mail.gmail.com>
Permalink:  ../CAFS1N4j8tEDap7sEeZDsQPSCbrFZwjbRYmyTAYPBA+yMP+2_CA@mail.gmail.com/
Also on:    postgresql.org/message-id/CAFS1N4j8tEDap7sEeZDsQPSCbrFZwjbRYmyTAYPBA+yMP+2_CA@mail.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: maymala.jayadevan@gmail.com, intmail01@gmail.com, pgsql-sql@lists.postgresql.org
  Subject: Re: Hide some tables
  In-Reply-To: <CAFS1N4j8tEDap7sEeZDsQPSCbrFZwjbRYmyTAYPBA+yMP+2_CA@mail.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