Re: postgreSQL-8.0.1 configure --enable-thread-safety with

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: postgreSQL-8.0.1 configure --enable-thread-safety with
Дата
Msg-id 422E926E.1010103@samurai.com
обсуждение исходный текст
Ответ на Re: postgreSQL-8.0.1 configure --enable-thread-safety with  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: postgreSQL-8.0.1 configure --enable-thread-safety with
Список pgsql-hackers
Bruce Momjian wrote:
> The attached patch should remove the warnings but I am not applying it
> because a non-static/extern global variable should be fine in C code.

What's the harm in applying it? Variables and functions not used outside 
the compilation unit in which they are defined _should_ be marked 
static; it's not required, but I think it's good style.

-Neil


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