pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Shams Khan <shams.khan22@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to check history of sequences and constraints (version 9.1)
Date: Wed, 21 Nov 2012 09:37:34 -0500
Message-ID: <2907.1353508654@sss.pgh.pa.us> (raw)
In-Reply-To: <CAM42bop4J_a984i_EES97b1478YZNJL5XTJTo8vJW1OvquCXDA@mail.gmail.com>
References: <CAM42bop4J_a984i_EES97b1478YZNJL5XTJTo8vJW1OvquCXDA@mail.gmail.com>

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




view thread (2+ messages)

Message-ID: <2907.1353508654@sss.pgh.pa.us>
Permalink:  ../2907.1353508654@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2907.1353508654@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, shams.khan22@gmail.com
  Subject: Re: How to check history of sequences and constraints (version 9.1)
  In-Reply-To: <2907.1353508654@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox