Re: const correctness - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: const correctness
Date
Msg-id 4EBBF0180200002500042D1C@gw.wicourts.gov
Whole thread Raw
In response to Re: const correctness  (Bruce Momjian <bruce@momjian.us>)
Responses Re: const correctness
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> wrote:
> I realize the patch only added 1-2 new const functions
No, version 2 of the patch used the strchr() technique and has
*zero* new functions and *zero* new macros.
> but this is only a small area of the code being patched --- a full
> solution would have many more complex duplicates, and awkward
> changes as we add features.
I'm not convinced of that, and I don't think it really has a bearing
on doing where it can be done with no new functions and no changes
to the code other than adding "const" to existing lines of code.
-Kevin


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Parsing output of EXPLAIN command in PostgreSQL
Next
From: Bruce Momjian
Date:
Subject: Re: const correctness