pgsql: Extend dsm API with a new function dsm_unpin_segment.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Extend dsm API with a new function dsm_unpin_segment.
Дата
Msg-id E1bcGpH-0001eQ-EK@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Extend dsm API with a new function dsm_unpin_segment.

If you have previously pinned a segment and decide that you don't
actually want to keep it around until shutdown, this new API lets you
remove the pin.  This is pretty trivial except on Windows, where it
requires closing the duplicate handle that was used to implement the
pin.

Thomas Munro and Amit Kapila, reviewed by Amit Kapila and by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0fda682e542c9acd368588e50a1993fecd3b73e2

Modified Files
--------------
src/backend/storage/ipc/dsm.c      | 117 +++++++++++++++++++++++++++++++++++--
src/backend/storage/ipc/dsm_impl.c |  57 +++++++++++++++++-
src/include/storage/dsm.h          |   1 +
src/include/storage/dsm_impl.h     |   4 +-
4 files changed, 169 insertions(+), 10 deletions(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql: doc: requirepeer is a way to avoid spoofing
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Create an SP-GiST opclass for inet/cidr.