From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | ohp(at)pyrenet(dot)fr, Guillaume Smet <guillaume(dot)smet(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: small parallel restore optimization |
Date: | 2009-03-07 23:51:08 |
Message-ID: | 49B3086C.5080106@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> ohp(at)pyrenet(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2009-03-07 23:53:39 | Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses |
Previous Message | Tom Lane | 2009-03-07 23:06:16 | Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses |