Re: Time of previous REINDEX execution.. - Mailing list pgsql-general

From Jeff Davis
Subject Re: Time of previous REINDEX execution..
Date
Msg-id 1178647004.24902.32.camel@dogma.v10.wvs
Whole thread Raw
In response to Time of previous REINDEX execution..  ("Anoo Pillai" <anoo.postgresql@gmail.com>)
List pgsql-general
On Tue, 2007-05-08 at 13:21 +0100, Anoo Pillai wrote:
> Hi,
>
> How to get the time at which the previous REINDEX command was run?
>

I don't think that information is explicitly stored. You can log
statements like that and that might help in the future.

If you really need to know, a REINDEX changes the relfilenode, so you
can see the creation time of the file in the data directory
corresponding to the current indexes of the table. That will probably be
the last time REINDEX was run.

Does that help?

Regards,
    Jeff Davis


pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: PG on Debian 4.0.x ?
Next
From: "Austin Winstanley"
Date:
Subject: PostgreSql embedded available?