Re: C++ keywords in headers (was Re: [GENERAL] #include )

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: C++ keywords in headers (was Re: [GENERAL] #include )
Дата
Msg-id 1293466319-sup-2446@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: C++ keywords in headers (was Re: [GENERAL] #include )  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Excerpts from Peter Eisentraut's message of lun dic 27 12:54:16 -0300 2010:
> On sön, 2010-12-26 at 12:31 -0500, Tom Lane wrote:
> > We did clean up C++ keyword uses in the header files in 9.0, but your
> > report shows it's already gotten broken again.  I'm disinclined to fix
> > it unless someone steps up to create an automated test that will get
> > run reasonably often.  We had that discussion when the patch to rename
> > keyword-named fields was proposed, and nothing got done, and the
> > current state of affairs is the entirely predictable result.
> 
> src/tools/pginclude/cpluspluscheck
> 
> What's missing is to automate this, but it's unclear in what context,
> and perhaps also to what extend this should be a hard requirement.

Maybe we could mention it in src/tools/RELEASE_CHANGES

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Reduce lock levels for ADD and DROP COLUMN
Следующее
От: Tomas Vondra
Дата:
Сообщение: estimating # of distinct values