Re: tables are not listable by \dt

From: Rajarshi Guha <rguha(at)indiana(dot)edu>
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 15:00:21
Message-ID: 78109CF4-CEDF-4720-8E27-CC16EE579219@indiana.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Jul 2, 2007, at 10:04 AM, 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.

Thanks to posters - it was indeed an error with the search path.

-------------------------------------------------------------------
Rajarshi Guha <rguha(at)indiana(dot)edu>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
If you don't get a good night kiss, you get Kafka dreams."
-Hobbes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-07-02 15:06:27 Re: recovery_target_time ignored or recovery alwaysrecovers to end of WAL
Previous Message Mikko Partio 2007-07-02 14:55:15 Re: tables are not listable by \dt