Re: tables are not listable by \dt

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Rajarshi Guha <rguha(at)indiana(dot)edu>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: tables are not listable by \dt
Date: 2007-07-02 14:50:07
Message-ID: 20070702145006.GA14271@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jul 02, 2007 at 10:04:21AM -0400, Rajarshi Guha wrote:
> Hi, we recently upgraded our Postgres instllation from 7.4 to 8.2 by
> doing a dump and restore. Howveer after logging into the database (as
> a user that is not the superuser) and doing \dt I get the error:
>
> No relations found
>
> But when I do
>
> SELECT relname, relpages FROM pg_class ORDER BY relpages DESC;
>
> I get a list of the tables and their sizes.

Are the tables in schemas that are in your search_path?

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-07-02 14:54:20 Re: tables are not listable by \dt
Previous Message Martijn van Oosterhout 2007-07-02 14:47:51 Re: ERROR: unexpected hash relation size: