Re: const correctness - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: const correctness
Date
Msg-id 1323287337.27491.3.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: const correctness  (Thomas Munro <munro@ip9.org>)
List pgsql-hackers
On ons, 2011-11-09 at 21:15 +0000, Thomas Munro wrote:
> I've attached a new patch, which simply adds the keyword 'const' in
> lots of places, no new functions etc.  This version generates no
> warnings under -Wcast-qual (now that I've read Peter E's thread and
> been inspired to fix up some places that previously cast away const)
> for all code under backend/nodes.  To achieve that I had to stray
> outside backend/nodes and change get_leftop and get_rightop (from
> clauses.h).

Patch committed.



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [v9.2] Fix Leaky View Problem
Next
From: Pavel Stehule
Date:
Subject: Re: documentation issue - extensions