Re: Common function for percent placeholder replacement - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: Common function for percent placeholder replacement
Date
Msg-id 20221214170521.GT27893@telsasoft.com
Whole thread Raw
In response to Common function for percent placeholder replacement  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: Common function for percent placeholder replacement
Re: Common function for percent placeholder replacement
List pgsql-hackers
On Wed, Dec 14, 2022 at 08:31:02AM +0100, Peter Eisentraut wrote:
> +    return replace_percent_placeholders(base_command, "df", (const char *[]){target_detail, filename});

This is a "compound literal", which I gather is required by C99.

But I don't think that's currently being exercised, so I wonder if it's
going to break some BF members.

-- 
Justin



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Common function for percent placeholder replacement
Next
From: Nathan Bossart
Date:
Subject: Re: wake up logical workers after ALTER SUBSCRIPTION