Re: question on the information_schema

From: bricklen <bricklen(at)gmail(dot)com>
To: Salvatore Barone <salvator(dot)barone(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: question on the information_schema
Date: 2013-08-23 15:04:39
Message-ID: CAGrpgQ_Mg60DOdAS6VaNr5Q-DKFysB3x3Y1Skx8qR6AGfnHUBA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Aug 23, 2013 at 8:02 AM, Salvatore Barone <salvator(dot)barone(at)gmail(dot)com
> wrote:

> On 23/08/2013 16:57, bricklen wrote:
>
> select *
> from information_schema.columns
> where table_schema not in ('information_schema','pg_catalog')
>
> Both queries, whether to send as user "ssaa", ie the user that I use
> daily, return an empty table. If sending as user "postgres" instead, they
> return the correct list of columns.
>

See David Johnston's response, I think that might be the reason why you are
not seeing anything (no tables to show columns of).

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Salvatore Barone 2013-08-23 15:12:00 Re: question on the information_schema
Previous Message Salvatore Barone 2013-08-23 15:02:47 Re: question on the information_schema