Re: C++ keyword in utils/rbtree.h

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: C++ keyword in utils/rbtree.h
Date: 2010-05-11 18:14:46
Message-ID: AANLkTinpisq5rNXqU_V-EO8rep_oUsLuXE--9NfOlbja@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, May 11, 2010 at 1:34 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> src/tools/pginclude/cpluspluscheck says:
>
> ./utils/rbtree.h:21: error: expected ‘,’ or ‘...’ before ‘new’
>
> Can we rename the "new" to something like "new_whateveritis"?  And what
> is it? :-)

It's a new value of some kind to be logically "appended" to a list of
existing values. Details depend on the type of data the caller is
storing in the rbtree. Trivial fix committed.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Pflug 2010-05-11 18:57:50 Re: SHARE locks vs. DELETE in SERIALIZABLE mode (Was: Partitioning/inherited tables vs FKs)
Previous Message Jan Wieck 2010-05-11 18:05:59 Re: SHARE locks vs. DELETE in SERIALIZABLE mode (Was: Partitioning/inherited tables vs FKs)