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

From Jeff Davis
Subject Re: A couple items on TODO
Date
Msg-id 0GIK00ETU19ZO7@mta5.snfc21.pbi.net
Whole thread Raw
In response to RE: A couple items on TODO  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses RE: A couple items on TODO
Re: A couple items on TODO
List 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 by date:

Previous
From: mlw
Date:
Subject: Re: OLAP, Aggregates, and order of operations
Next
From: Tom Lane
Date:
Subject: Re: Re: OLAP, Aggregates, and order of operations