Re: small parallel restore optimization - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: small parallel restore optimization
Date
Msg-id 49B3086C.5080106@dunslane.net
Whole thread Raw
In response to Re: small parallel restore optimization  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Tom Lane wrote:
> ohp@pyrenet.fr writes:
>   
>> the only thing I could come  with is a calloc(1,12) that seems to alloc 
>> mem for filename, in that case sdewitte.dmp; so  the alloc is not counting 
>> the null char at the end.
>>     
>
> Where do you see that?  The memtool dump you sent doesn't show it AFAICS.
>
>             
>   

And the only copying of the filename that I can find is done with strdup().

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses
Next
From: Alvaro Herrera
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses