Re: 32/64-bit transaction IDs?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 32/64-bit transaction IDs?
Дата
Msg-id 499.1048347852@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 32/64-bit transaction IDs?  ("Ed L." <pgsql@bluepolka.net>)
Ответы Re: 32/64-bit transaction IDs?  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-general
"Ed L." <pgsql@bluepolka.net> writes:
>     create table pg_xlog (
>         xid        int4 unique not null,
>         recno    int8 unique not null,
>     );
>     -- recno = (XLogRecPtr.xlogid) << 32) + XLogRecPtr.xrecoff

> This would map transaction IDs to WAL log record numbers.  It seems
> straight-forward to get the right data into this table.

... except that once a transaction has committed, it can't go around
making more database entries.  You can only modify the DB within a
transaction.

            regards, tom lane


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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: 32/64-bit transaction IDs?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Case sensitivity and migration