From: David Johnston <polobo@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: question on the information_schema
Date: Fri, 23 Aug 2013 08:02:30 -0700 (PDT)
Message-ID: <1377270150147-5768391.post@n5.nabble.com> (raw)
In-Reply-To: <52177664.5030908@gmail.com>
References: <52177664.5030908@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Salvatore Barone wrote
> Hi all,
> I created a database named "test" with the user "postgres" and I have
> given all privileges on database "test" to a user that I use daily,
> called "ssaa".
> By submitting, as user "ssaa", to "test" database the «select * from
> information_schema.columns with where col.table_schema! = 'Pg_catalog'
> and col.table_schema! = 'Information_schema'» query, instead of the list
> of columns, I have an empty table. I have to give some special permit
> ssaa user?
> How do I resolve?
> Thanks.
>
> Ps. I apologize for my poor english.
You have not provided an actual query. Copy/Paste the exact query you are
executing.
Note, however, that a newly created database does not have any "columns", or
tables for that matter, aside from those in information_schema and
pg_catalog. Why do you expect the query to return any results?
More generally it is very helpful to explain "why" you are doing something
and not just show - especially incompletely - what you are doing.
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/question-on-the-information-schema-tp5768389p5768391.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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: polobo@yahoo.com
Subject: Re: question on the information_schema
In-Reply-To: <1377270150147-5768391.post@n5.nabble.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