Re: can I get a bit more attribute out of \dt directive?

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: can I get a bit more attribute out of \dt directive?
Date: 2009-10-20 19:24:27
Message-ID: dcc563d10910201224o6484638eid6a2c40529198b50@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Oct 20, 2009 at 10:11 AM, Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu> wrote:
> Hi everybody,
>
> Is there any quick way to list attributes of table?
> As I type at psql prompt:
>
>   \dt+ foo.mytable*
>
> It gives me 5 columns (schema, name, type, owner, and
> description) of tables named mytable1, mytable2, etc.
> in the schema foo.
>
> What I want would be the last modification date of each
> table.  How can I get this out of psql?

That information is not stored by the db really, so there's no way to get it.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2009-10-20 19:51:20 Re: server process crash
Previous Message k_b0000 2009-10-20 19:24:25 Re: PostgreSQL 8.4.1 - ERROR: column "reltriggers" does not exist