Skip site navigation (1) Skip section navigation (2)

Re: Mostly Harmless: c++reserved - patch 1 of 4

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Kurt Harriman <harriman(at)acm(dot)org>
Subject: Re: Mostly Harmless: c++reserved - patch 1 of 4
Date: 2009-07-13 22:02:54
Message-ID: 200907140102.55439.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-hackers
On Friday 05 December 2008 11:13:37 Kurt Harriman wrote:
>      Fortunately, there are not many instances which are likely
>      to be encountered by our C++ guests, and these can easily
>      be changed.  In memnodes.h, parsenodes.h, and primnodes.h,
>      this patch changes the following field names:
>
>          typename => typeName
>          typeid => typeOid
>          using => usingClause
>          delete => delete_context
>
>      Also, the patch changes a few parameter names in function
>      prototypes in makefuncs.h, parse_type.h, and builtins.h:
>
>                  typename => typeName
>          typeid => typeOid
>          namespace => qualifier

I'll see if I can adjust pgcompinclude for checking C++ compatibility of 
headers automatically.  If we have such a tool, this patch should be OK to go 
in.


In response to

pgsql-hackers by date

Next:From: Greg StarkDate: 2009-07-13 22:04:18
Subject: Re: Index-only scans
Previous:From: Tilmann SingerDate: 2009-07-13 22:01:12
Subject: pg_migrator not setting values of sequences?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group