From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: tracking commit timestamps |
Date: | 2013-12-10 20:48:43 |
Message-ID: | CA+TgmoYXm7JcZge-iF6y5ZFF2SZ1iDQXWg40L5TD7Yp7zkeobg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-www |
On Tue, Dec 10, 2013 at 4:56 AM, Heikki Linnakangas
<hlinnakangas(at)vmware(dot)com> wrote:
> Generally speaking, I'm not in favor of adding dead code, even if it might
> be useful to someone in the future. For one, it's going to get zero testing.
> Once someone comes up with an actual use case, let's add that stuff at that
> point. Otherwise there's a good chance that we build something that's almost
> but not quite useful.
Fair.
> Speaking of the functionality this does offer, it seems pretty limited. A
> commit timestamp is nice, but it isn't very interesting on its own. You
> really also want to know what the transaction did, who ran it, etc. ISTM
> some kind of a auditing or log-parsing system that could tell you all that
> would be much more useful, but this patch doesn't get us any closer to that.
For what it's worth, I think that this has been requested numerous
times over the years by numerous developers of replication solutions.
My main question (apart from whether or not it may have bugs) is
whether it makes a noticeable performance difference. If it does,
that sucks. If it does not, maybe we ought to enable it by default.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-12-10 20:50:58 | Re: plpgsql_check_function - rebase for 9.3 |
Previous Message | Robert Haas | 2013-12-10 20:45:04 | Re: plpgsql_check_function - rebase for 9.3 |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2013-12-10 21:04:12 | Re: tracking commit timestamps |
Previous Message | Andres Freund | 2013-12-10 11:18:22 | Re: tracking commit timestamps |