Re: parallel restore fixes

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: parallel restore fixes
Date: 2009-03-10 01:44:50
Message-ID: 49B5C612.90505@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>> Tom Lane wrote:
>>
>>> Actually, why bother with init_dump_utils at all?
>>>
>
>
>> Well, the Windows reference I have suggests TlsAlloc() needs to be
>> called early in the initialisation process ...
>>
>
> How early is early? The proposed call sites for init_dump_utils seem
> already long past the point where any libc-level infrastructure would
> think it is "initialization" time.
>

Well, I think at least it needs to be done where other threads won't be
calling it at the same time.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dickson S. Guedes 2009-03-10 01:54:11 Re: Sampling Profler for Postgres
Previous Message KaiGai Kohei 2009-03-10 01:33:51 Re: Updates of SE-PostgreSQL 8.4devel patches (r1704)