Re: tracking commit timestamps

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: tracking commit timestamps
Дата
Msg-id 545945CB.8090706@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: tracking commit timestamps  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On 04/11/14 22:20, Peter Eisentraut wrote:
> 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. ;-)
>

Hmm we use CommitTs in interfaces that uses CamelCase naming so I guess 
commit_ts is indeed natural expansion of that.


--  Petr Jelinek                  http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: WAL replay bugs
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_receivelog completion command