Re: Header File cleanup.
От | Tom Lane |
---|---|
Тема | Re: Header File cleanup. |
Дата | |
Msg-id | 746.959666768@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Header File cleanup. (Lamar Owen <lamar.owen@wgcr.org>) |
Список | pgsql-hackers |
Lamar Owen <lamar.owen@wgcr.org> writes: > Enlighten me: > Why use #include "header.h" over #include <header.h> for exported interface > header files? As Marc mentioned, we've gone round on that before. I think the bias for using "" is largely because it's convenient (or even necessary, in some scenarios) for building Postgres itself. I am not aware of any compelling arguments why <> would be better from the perspective of a client app trying to use already-installed Postgres header files --- if you know some reasons, let's hear 'em! I'm prepared to believe that the client's-eye view might favor something different from the developer's-eye view. I think you were suggesting that we might want to replace "" by <> in installed copies of the headers. I'd support that if it were shown necessary, but I'd want to be shown first... regards, tom lane
В списке pgsql-hackers по дате отправления: