RE: A couple items on TODO - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject RE: A couple items on TODO
Date
Msg-id ECEHIKNFIMMECLEBJFIGCEKGCBAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: A couple items on TODO  (Jeff Davis <list-pgsql-hackers@dynworks.com>)
List pgsql-hackers
> That's good information, now I have a better idea what I am
> looking for. I am
> using Source Navigator (good recommendation I got reading this
> list). I am
> basically just trying to find either variables that can be
> declared const, or
> inconsistancies (as Chris mentions).
>
> If anyone else has a clearer idea of what the intention of that
> todo item is,
> let me know.

I assume that since most of the times char * is passed to a function, it is
supposed to be unmodifiable.  Putting the 'const' there enforces this -
thereby making PostgreSQL more robust against poxy programming.

Chris



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [PATCHES] encoding names
Next
From: Hannu Krosing
Date:
Subject: Re: User locks code