Re: 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)
Дата
Msg-id 4CA9C835.6030500@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Proposed Windows-specific change: Enable crash dumps (like core files)  (Craig Ringer <craig@postnewspapers.com.au>)
Ответы Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)  (Craig Ringer <craig@postnewspapers.com.au>)
Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-hackers
On 04.10.2010 15:21, Craig Ringer wrote:
> 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.

If it's not a lot of code, it's better to have it built-in always. 
Loading extra libraries in debug-mode could lead to heisenbugs.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

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