RE: A couple items on TODO

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема RE: A couple items on TODO
Дата
Msg-id ECEHIKNFIMMECLEBJFIGCEKGCBAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: A couple items on TODO  (Jeff Davis <list-pgsql-hackers@dynworks.com>)
Список 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 по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [PATCHES] encoding names
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: User locks code