Re: Common function for percent placeholder replacement

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Common function for percent placeholder replacement
Date: 2023-01-11 10:09:01
Message-ID: f6651555-39c0-ba32-b91a-a632840c37e1@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09.01.23 18:53, Nathan Bossart wrote:
>> + nativePath = pstrdup(path);
>> + make_native_path(nativePath);
>
>> + nativePath = pstrdup(xlogpath);
>> + make_native_path(nativePath);
>
> Should these be freed?

committed with that fixed

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sandro Santilli 2023-01-11 10:10:40 Re: [PATCH] Support % wildcard in extension upgrade filenames
Previous Message Hayato Kuroda (Fujitsu) 2023-01-11 10:04:17 RE: [Proposal] Add foreign-server health checks infrastructure