Re: Metadata/ODBC query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "jerry(dot)evans(at)chordia" <jerry(dot)evans(at)chordia(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Metadata/ODBC query
Date: 2008-02-16 14:27:07
Message-ID: 17622.1203172027@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I wrote:
> What userid are you connecting as under ODBC? Has it got privileges to
> any of the schemas? The information_schema views generally hide objects
> that you have no privileges for ...

In fact, looking closer, it looks like the schemata view only shows you
schemas that you are the *owner* of (as is required by spec). So a
superuser would see everything but ordinary users might well not see
anything.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Phoenix Kiula 2008-02-16 14:42:48 Timestamp indexes (why ">" or "between" does not use index?)
Previous Message Tom Lane 2008-02-16 14:21:23 Re: Metadata/ODBC query