pgsql: Add new 'old_snapshot' contrib module.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Add new 'old_snapshot' contrib module.
Дата
Msg-id E1kLVvP-0001cZ-SK@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add new 'old_snapshot' contrib module.

You can use this to view the contents of the time to XID mapping
which the server maintains when old_snapshot_threshold != -1.
Being able to view that information may be interesting for users,
and it's definitely useful for figuring out whether the mapping
is being maintained correctly. It isn't, so that will need to be
fixed in a subsequent commit.

Patch by me, reviewed by Thomas Munro, Dilip Kumar, Hamid Akhtar.

Discussion: http://postgr.es/m/CA+TgmoY=aqf0zjTD+3dUWYkgMiNDegDLFjo+6ze=Wtpik+3XqA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aecf5ee2bb36c597d3c6142e367e38d67816c777

Modified Files
--------------
contrib/Makefile                           |   1 +
contrib/old_snapshot/Makefile              |  22 ++++
contrib/old_snapshot/old_snapshot--1.0.sql |  14 +++
contrib/old_snapshot/old_snapshot.control  |   5 +
contrib/old_snapshot/time_mapping.c        | 159 +++++++++++++++++++++++++++++
doc/src/sgml/contrib.sgml                  |   1 +
doc/src/sgml/filelist.sgml                 |   1 +
doc/src/sgml/oldsnapshot.sgml              |  33 ++++++
8 files changed, 236 insertions(+)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Expose oldSnapshotControl definition via new header.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Improve the error message for an inappropriate column definition