From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jerry Sievert <jerry@legitimatesounding.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15414: extension compilation fails when c++ files are named with .cc
Date: Mon, 01 Oct 2018 17:16:06 -0400
Message-ID: <29555.1538428566@sss.pgh.pa.us> (raw)
In-Reply-To: <0C026788-9773-4AEF-B5DD-436EDFCD489A@legitimatesounding.com>
References: <15414-df6868d261e60784@postgresql.org>
<20181001202548.tt6xc2aqu3phakly@alap3.anarazel.de>
<0C026788-9773-4AEF-B5DD-436EDFCD489A@legitimatesounding.com>
Jerry Sievert <jerry@legitimatesounding.com> writes:
>> On Oct 1, 2018, at 1:25 PM, Andres Freund <andres@anarazel.de> wrote:
>> 1) Add rules for ".cpp", ".cc", ".C", ".cxx", and ".c++" and whatever
>> else we can think of. Add additional variants whenever somebody
>> presents one (and backpatch it).
> This is a rather disingenuous choice. Perhaps a better approach would be to do a quick survey of the existing c++ extensions (there aren’t very many),
Andres just named five, which is about four too many. I wouldn't mind
adding one more, but it's not very clear where to stop. Most of the ones
he mentioned do seem to have some currency, with the possible exception
of '.C' which as you say is a hazardous choice.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, jerry@legitimatesounding.com, andres@anarazel.de
Subject: Re: BUG #15414: extension compilation fails when c++ files are named with .cc
In-Reply-To: <29555.1538428566@sss.pgh.pa.us>
References: <15414-df6868d261e60784@postgresql.org> <20181001202548.tt6xc2aqu3phakly@alap3.anarazel.de> <0C026788-9773-4AEF-B5DD-436EDFCD489A@legitimatesounding.com> <29555.1538428566@sss.pgh.pa.us>
* 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