Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJ4zz-0005do-TY for pgsql-admin@arkaria.postgresql.org; Fri, 18 Sep 2020 01:15:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kJ4zy-0006oH-RE for pgsql-admin@arkaria.postgresql.org; Fri, 18 Sep 2020 01:15:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJ4zy-0006o9-Jp for pgsql-admin@lists.postgresql.org; Fri, 18 Sep 2020 01:15:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJ4zv-0007nC-Q8 for pgsql-admin@lists.postgresql.org; Fri, 18 Sep 2020 01:15:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 08I1FX8Z369332; Thu, 17 Sep 2020 21:15:33 -0400 From: Tom Lane To: Henry Francisco Garcia Cortez cc: pgsql-admin@lists.postgresql.org Subject: Re: column of table In-reply-to: References: Comments: In-reply-to Henry Francisco Garcia Cortez message dated "Thu, 17 Sep 2020 17:09:00 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <369330.1600391733.1@sss.pgh.pa.us> Date: Thu, 17 Sep 2020 21:15:33 -0400 Message-ID: <369331.1600391733@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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