| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
| Cc: | Jeff Davis <list-pgsql-hackers(at)dynworks(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: A couple items on TODO |
| Date: | 2001-08-24 02:20:45 |
| Message-ID: | 200108240220.f7O2Kjr08522@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hannu Krosing | 2001-08-24 02:25:06 | Re: User locks code |
| Previous Message | Christopher Kings-Lynne | 2001-08-24 01:52:55 | RE: A couple items on TODO |