Re: A couple items on TODO
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Jeff Davis <list-pgsql-hackers@dynworks.com>, pgsql-hackers@postgresql.org
Date: 2001-08-24T02:20:45Z
Lists: 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. > Yes, it can be very annoying. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026