Re: C++-Language Function/Process List - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: C++-Language Function/Process List
Date
Msg-id 20050523154043.GA12731@svana.org
Whole thread Raw
In response to C++-Language Function/Process List  (Kelly Burkhart <kelly@tradebotsystems.com>)
List 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@svana.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.

Attachment

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to recover from : "Cache lookup failed for rela tion "
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Problem merging two rows into same primary key