Re: wrong comment in libpq.h

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: wrong comment in libpq.h
Дата
Msg-id fd92aec8-56c2-4562-a673-d955271b5f30@eisentraut.org
обсуждение исходный текст
Ответ на wrong comment in libpq.h  (David Zhang <david.zhang@highgo.ca>)
Ответы Re: wrong comment in libpq.h  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
On 03.05.24 00:37, David Zhang wrote:
> Hi Hackers,
> 
> There is a comment like below in src/include/libpq/libpq.h,
> 
>   /*
>    * prototypes for functions in be-secure.c
>    */
> extern PGDLLIMPORT char *ssl_library;
> extern PGDLLIMPORT char *ssl_cert_file;
> 
> ...
> 
> However, 'ssl_library', 'ssl_cert_file' and the rest are global 
> parameter settings, not functions. To address this confusion, it would 
> be better to move all global configuration settings to the proper 
> section, such as /* GUCs */, to maintain consistency.

Maybe it's easier if we just replaced

     prototypes for functions in xxx.c

with

     declarations for xxx.c

throughout src/include/libpq/libpq.h.




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

Предыдущее
От: Richard Guo
Дата:
Сообщение: Re: A problem about partitionwise join
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: wrong comment in libpq.h