Re: A couple items on TODO

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: A couple items on TODO
Дата
Msg-id 0GIK00ETU19ZO7@mta5.snfc21.pbi.net
обсуждение исходный текст
Ответ на RE: A couple items on TODO  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы RE: A couple items on TODO  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Re: A couple items on TODO  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> > > *Add use of 'const' for variables in source tree
> >
> > I would discuss this item with the hackers list and see exactly what
> > people want done with it.
>
> I have noticed while working on command.c and heap.c that half the
> functions pass 'const char *' and the other half pass just 'char *'.  This
> is a pain when you have a little helper function like 'is_relation(char *)'
> and you want to pass a 'const char *' to it and vice versa.  ie. Compiler
> warnings - it's sort of annoying.
>

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.

Jeff


В списке pgsql-hackers по дате отправления:

Предыдущее
От: mlw
Дата:
Сообщение: Re: OLAP, Aggregates, and order of operations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: OLAP, Aggregates, and order of operations