Re: tracking commit timestamps

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: tracking commit timestamps
Дата
Msg-id 5459432F.4010004@gmx.net
обсуждение исходный текст
Ответ на Re: tracking commit timestamps  (Petr Jelinek <petr@2ndquadrant.com>)
Ответы Re: tracking commit timestamps  (Petr Jelinek <petr@2ndquadrant.com>)
Re: tracking commit timestamps  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 11/3/14 5:17 PM, Petr Jelinek wrote:
>> Please don't name anything "committs".  That looks like a misspelling of
>> something.
>>
>> There is nothing wrong with
>>
>> pg_get_transaction_commit_timestamp()
>>
>> If you want to reduce the length, lose the "get".
>>
> 
> I am fine with that, I only wonder if your definition of "anything" only
> concerns the SQL interfaces or also the internals.

I'd be fine with commit_ts for internals, but not committs.

One day, you'll need a function or data structure that works with
multiple of these, and then you'll really be in naming trouble. ;-)




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Petr Jelinek
Дата:
Сообщение: Re: tracking commit timestamps
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: tracking commit timestamps