From: stan <stanb@panix.com>
To: pgsql-general@lists.postgresql.org
Subject: A question about user atributes
Date: Fri, 22 Nov 2019 07:50:52 -0500
Message-ID: <20191122125052.GA18345@panix.com> (raw)
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: stanb@panix.com
Subject: Re: A question about user atributes
In-Reply-To: <20191122125052.GA18345@panix.com>
References: <20191122125052.GA18345@panix.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