> > > *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
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html