From: Salvatore Barone <salvator.barone@gmail.com>
To: David Johnston <polobo@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: question on the information_schema
Date: Fri, 23 Aug 2013 17:12:00 +0200
Message-ID: <52177BC0.1060007@gmail.com> (raw)
In-Reply-To: <1377270150147-5768391.post@n5.nabble.com>
References: <52177664.5030908@gmail.com>
<1377270150147-5768391.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
I'm not stupid, I added some columns before sending the query. I'm
trying to write a query that returns the name and other information
about the columns of a database. the query that is sent is the following
select * from information_schema.columns col
where col.table_schema!='pg_catalog'and
col.table_schema!='information_schema'
if i sent the query as "postgres", the result is a table that contain
the the right column list. If I sent the query as "ssaa", the result is
an empty table.
I must to be able to retrieve the list of tables as a user "ssaa".
--
Saluti,
Salvatore Barone
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: salvator.barone@gmail.com, polobo@yahoo.com
Subject: Re: question on the information_schema
In-Reply-To: <52177BC0.1060007@gmail.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