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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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