pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Henry Francisco Garcia Cortez <garcortez@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: column of table
Date: Thu, 17 Sep 2020 21:15:33 -0400
Message-ID: <369331.1600391733@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJP2v3Ggvoyt-ZrenvLevN=GJzLSoicGr4spp6bDOK3U_Omy=w@mail.gmail.com>
References: <CAJP2v3Ggvoyt-ZrenvLevN=GJzLSoicGr4spp6bDOK3U_Omy=w@mail.gmail.com>

Henry Francisco Garcia Cortez <garcortez@gmail.com> writes:
> This query Grant select on table (name table) to (name user) but I want to
> show only a column and rest of column that remain blocked

Doesn't a per-column GRANT do what you want?

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <369331.1600391733@sss.pgh.pa.us>
Permalink:  ../369331.1600391733@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/369331.1600391733@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, garcortez@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: column of table
  In-Reply-To: <369331.1600391733@sss.pgh.pa.us>

* 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