Feedback on writing extensible modules

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Feedback on writing extensible modules
Дата
Msg-id 1242845469.27960.167.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответы Re: Feedback on writing extensible modules  (Dimitri Fontaine <dfontaine@hi-media.com>)
Re: Feedback on writing extensible modules  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Some feedback

1. Want some very clear and supported way to know whether Postgres is
fully up. Currently, if you write _PG_init you sometimes need to know if
it is being executed by LOAD or as a reload. So actual initialisation
sometimes needs to happen outside of _PG_init.

2. shmem_startup_hook doesn't allow multiple modules to create shmem.
All callers of the hook think they are the only caller, causing chaos if
multiple people need this. Currently, whoever sets up the hook gets to
create shmem. (There's no docs for this yet). Would prefer something
like RequestAddinShmemSpace() which can be called by multiple callers.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: plpgsql + named parameters
Следующее
От: Pavel Stehule
Дата:
Сообщение: bootstrap table with TimestampTz type