Re: [GENERAL] Date/time of last commit

2009-03-09 Thread Richard Huxton
Tom Spencer wrote: > I need to compare the age of some data files against the "age" (i.e. > time of last commit) of the database. If the data files are newer > then the database needs to be rebuilt. > > I can kludge together a solution but by far the cleanest solution > would be to just ask "what

Re: [GENERAL] Date/time of last commit

2009-03-04 Thread Richard Huxton
Tom Spencer wrote: > Is there a way to get the date/time of the last commit on a database? Not unless you're logging them or have triggers on all the tables you want to monitor. What problem are you trying to solve? -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pg

[GENERAL] Date/time of last commit

2009-03-03 Thread Tom Spencer
Is there a way to get the date/time of the last commit on a database? Tom -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general