Re: A couple items on TODO

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: A couple items on TODO
Дата
Msg-id 200108240220.f7O2Kjr08522@candle.pha.pa.us
обсуждение исходный текст
Ответ на RE: A couple items on TODO  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список 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,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: RE: A couple items on TODO
Следующее
От: Tom Lane
Дата:
Сообщение: Permissions for large-object comments