Re: tracking commit timestamps

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Petr Jelinek <petr(at)2ndquadrant(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Jaime Casanova <jaime(at)2ndquadrant(dot)com>
Subject: Re: tracking commit timestamps
Date: 2014-11-01 12:29:29
Message-ID: CAB7nPqRCxS39BoH6u-W-BtubZ4HJwfUZgpyLU2Hx-a0o5NBCYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

On Sat, Nov 1, 2014 at 9:04 PM, Petr Jelinek <petr(at)2ndquadrant(dot)com> wrote:

> On 01/11/14 12:19, Petr Jelinek wrote:
>
>> Hi,
>>
>> thanks for review.
>>
>> On 01/11/14 05:45, Michael Paquier wrote:
>>
>>> Now here are a couple of comments at code level, this code seems not
>>> enough baked for a commit:
>>> 1) The following renaming should be done:
>>> - pg_get_transaction_committime to pg_get_transaction_commit_time
>>> - pg_get_transaction_extradata to pg_get_transaction_extra_data
>>> - pg_get_transaction_committime_data to
>>> pg_get_transaction_commit_time_data
>>> - pg_get_latest_transaction_committime_data to
>>> pg_get_latest_transaction_commit_time_data
>>>
>>
>> Makes sense.
>>
>>
> On second thought, maybe those should be pg_get_transaction_committs,
> pg_get_transaction_committs_data, etc.
> For me the commit time thing feels problematic in the way I perceive it -
> I see commit time as a point in time, where I see commit timestamp (or
> committs for short) as something that can recorded. So I would prefer to
> stick with commit timestamp/committs.

Hehe, I got exactly the opposite impression while reading the patch, but
let's rely on your judgement for the namings. I am not the one writing this
code.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2014-11-01 13:00:40 Re: tracking commit timestamps
Previous Message Petr Jelinek 2014-11-01 12:04:27 Re: tracking commit timestamps

Browse pgsql-www by date

  From Date Subject
Next Message Michael Paquier 2014-11-01 13:00:40 Re: tracking commit timestamps
Previous Message Petr Jelinek 2014-11-01 12:04:27 Re: tracking commit timestamps