Re: XLog: how to log?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: XLog: how to log?
Дата
Msg-id 200405112209.i4BM9po09799@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: XLog: how to log?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: XLog: how to log?
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Many transactions are going to have the same timestamp because that just
> > isn't precise enough to choose a particular transaction.
> 
> I think this argument is largely a red herring ... but if it makes you
> feel better, we could change the contents of the commit timestamp to
> be gettimeofday() output (seconds+microseconds) instead of just time()
> output.  That should be precise enough for practical purposes.

I am saying timestamp as used for specifying a recovery location might
not be unique enough, no?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: XLog: how to log?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Probably security hole in postgresql-7.4.1