column of table

Поиск
Список
Период
Сортировка
Искать

column of table

От:
Henry Francisco Garcia Cortez <garcortez@gmail.com>
Дата:
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 

--
Ing. Henry G. Cortez



Re: column of table

От:
Scott Ribe <scott_ribe@elevated-dev.com>
Дата:
> On Sep 17, 2020, at 5:09 PM, Henry Francisco Garcia Cortez  wrote:
> 
> 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 

You probably want to create a view for this purpose.



Re: column of table

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Henry Francisco Garcia Cortez  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


Re: column of table

От:
Henry Francisco Garcia Cortez <garcortez@gmail.com>
Дата:
first I'm going to revoke all tables in schema public from public then I want only to show a column of the table

El jue., 17 sept. 2020 a las 20:15, Tom Lane (<tgl@sss.pgh.pa.us>) escribió:
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


--
Ing. Henry G. Cortez



FAQ