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

From Christopher Kings-Lynne
Subject RE: A couple items on TODO
Date
Msg-id ECEHIKNFIMMECLEBJFIGEEKFCBAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: A couple items on TODO  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: A couple items on TODO
Re: A couple items on TODO
Re: A couple items on TODO
List pgsql-hackers
> > As I was browsing TODO, I noticed a couple unassigned items
> that I may be
> > able to help with (I haven't worked with the source before):
> >
> > *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.

Chris



pgsql-hackers by date:

Previous
From: Amandeep Singh
Date:
Subject: ERP Applications on Postgresql -- ERPTool
Next
From: Bruce Momjian
Date:
Subject: Re: A couple items on TODO