Re: How to check history of sequences and constraints (version 9.1) - Mailing list pgsql-admin

From Tom Lane
Subject Re: How to check history of sequences and constraints (version 9.1)
Date
Msg-id 2907.1353508654@sss.pgh.pa.us
Whole thread Raw
In response to How to check history of sequences and constraints (version 9.1)  (Shams Khan <shams.khan22@gmail.com>)
List pgsql-admin
Shams Khan <shams.khan22@gmail.com> writes:
> I want to check the last reset valued of sequence and the date of foreign
> key constraint when it was created. Is that possible in postgres 9.1
> version??

No, the system doesn't track any such thing.  You could possibly set
log_statement to record all commands of interest in the postmaster log
and then trawl through that data, but it wouldn't be especially easy.

            regards, tom lane


pgsql-admin by date:

Previous
From: "Gnanakumar"
Date:
Subject: Database archive solutions
Next
From: Craig James
Date:
Subject: Re: Database archive solutions