Re: Common function for percent placeholder replacement

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org
Date: 2023-01-11T10:09:01Z
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




Commits

  1. Code cleanup

  2. Common function for percent placeholder replacement