Re: C++-Language Function/Process List

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Kelly Burkhart <kelly(at)tradebotsystems(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: C++-Language Function/Process List
Date: 2005-05-23 15:40:43
Message-ID: 20050523154043.GA12731@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, May 23, 2005 at 09:13:00AM -0500, Kelly Burkhart wrote:
> I used C++ and noticed that some Postgres headers contain C++ keywords.
> Is there any interest among PG developers in making the C-language
> interface C++ clean? Or, is there hostility to this idea?

Hmm, it seems C++ is joining the club with SQL in taking lots of
commonly used words and turning them into keywords.

I don't think it's actively being worked against, it's just that c++
has added some 50 keywords to the language, most of which are ordinary
english words. It will take time to go through and update all the
sources...

For reference, the keywords in question are using, typename and typeid.
Anyone think of any alternative names that don't lose the meaning?
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-05-23 15:47:14 Re: Problem merging two rows into same primary key
Previous Message Tom Lane 2005-05-23 15:39:21 Re: How to recover from : "Cache lookup failed for rela tion "