Re: BUG #15414: extension compilation fails when c++ files are named with .cc - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15414: extension compilation fails when c++ files are named with .cc
Date
Msg-id 29555.1538428566@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #15414: extension compilation fails when c++ files are namedwith .cc  (Jerry Sievert <jerry@legitimatesounding.com>)
List pgsql-bugs
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


pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #15414: extension compilation fails when c++ files are namedwith .cc
Next
From: Jerry Sievert
Date:
Subject: Re: BUG #15414: extension compilation fails when c++ files are namedwith .cc