Re: failed to compile a C++ SPI function
От
Tom Lane
Тема
Re: failed to compile a C++ SPI function
Дата
Msg-id
19799.970977432@sss.pgh.pa.us
Ответ на
Re: failed to compile a C++ SPI function (Bruce Momjian)
Список
Дерево обсуждения
failed to compile a C++ SPI function Louis-David Mitterrand <cunctator@apartia.ch>
Re: failed to compile a C++ SPI function Bruce Momjian <pgman@candle.pha.pa.us>
Re: failed to compile a C++ SPI function Tom Lane <tgl@sss.pgh.pa.us>
Re: failed to compile a C++ SPI function Bruce Momjian <pgman@candle.pha.pa.us>
Bruce Momjian writes: > I am willing to change it to typname. Any comments? That's hardly the only change you will have to make to get the headers to pass through a C++ compiler without complaint. How many existing applications do you want to risk breaking? ParamNo probably isn't a widely used node type, but there are four structs with fields named 'typename' and one with a field named 'class' just in parsenodes.h. I think that before we start making changes with C++ cleanness as a goal, we should try to get a precise idea of the extent of the changes that would be needed, and then estimate how much user code might reference the fields we'd need to rename. regards, tom lane
В списке pgsql-hackers по дате отправления
От: Marc G. Fournier
Дата:
От: Bruce Momjian
Дата: