Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iY8YE-00051Z-Sg for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 13:00:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iY8PJ-0001rF-TP for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 12:51:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iY8PJ-0001mr-IL for pgsql-general@lists.postgresql.org; Fri, 22 Nov 2019 12:51:29 +0000 Received: from mailbackend.panix.com ([166.84.1.89]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iY8PG-0006FA-2b for pgsql-general@lists.postgresql.org; Fri, 22 Nov 2019 12:51:28 +0000 Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 47KGWJ43TnzlZP for ; Fri, 22 Nov 2019 07:50:52 -0500 (EST) Received: by panix2.panix.com (Postfix, from userid 17622) id 47KGWJ34nfz1ZVv; Fri, 22 Nov 2019 07:50:52 -0500 (EST) Date: Fri, 22 Nov 2019 07:50:52 -0500 From: stan To: pgsql-general@lists.postgresql.org Subject: A question about user atributes Message-ID: <20191122125052.GA18345@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim User-Agent: Mutt/1.12.1 (2019-06-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I am trting to do something, and it ias not working as I think it should. Consider: onnected to a database called stan as stan /dt reports List of relations Schema | Name | Type | Owner --------+--------------------------+-------+------- ica | biz_constants | table | stan ica | bom_item | table | stan ica | costing_unit | table | stan ica | customer | table | stan ica | employee | table | stan Connect as user postgres to database stan and execute: grant all ON ALL TABLES IN SCHEMA ica to harec ; Connect to database stan as user harec stan=> \dt Did not find any relations. stan=> \c psql (12.1 (Debian 12.1-1.pgdg100+1), server 11.6 (Debian 11.6-1.pgdg100+1)) You are now connected to database "stan" as user "harec". stan=> What am I doing wrong? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin