Re: Proposed Windows-specific change: Enable crash dumps (like core files)

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Дата
Msg-id 4CA9C6B7.3060901@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Proposed Windows-specific change: Enable crash dumps (like core files)  (Dave Page <dpage@pgadmin.org>)
Ответы Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
On 4/10/2010 8:09 PM, Dave Page wrote:

> Any idea of the performance overhead?

A GUC read and string compare when off, and (untested as yet) I expect 
little more when on.

Thinking about it, a possibly better alternative is to ship it as a 
library as is done with the pl/pgsql debugger, and use (I think) 
shared_preload_libraries to load it when desired. That way there's zero 
cost if disabled, though a somewhat higher cost if enabled.

Hmm. That'll let me put a test version together that'll work with 9.0 as 
well, so that seems like a no-brainer really, it's just a better way to 
do it. Time for a Pg-on-windows build, yay.

-- 
Craig Ringer

Tech-related writing at http://soapyfrogs.blogspot.com/


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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)