From: Justin Pryzby <pryzby@telsasoft.com>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Common function for percent placeholder replacement
Date: Wed, 14 Dec 2022 11:05:21 -0600
Message-ID: <20221214170521.GT27893@telsasoft.com> (raw)
In-Reply-To: <5238bbed-0b01-83a6-d4b2-7eb0562a054e@enterprisedb.com>
References: <5238bbed-0b01-83a6-d4b2-7eb0562a054e@enterprisedb.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: pryzby@telsasoft.com, peter.eisentraut@enterprisedb.com
Subject: Re: Common function for percent placeholder replacement
In-Reply-To: <20221214170521.GT27893@telsasoft.com>
References: <5238bbed-0b01-83a6-d4b2-7eb0562a054e@enterprisedb.com> <20221214170521.GT27893@telsasoft.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox