Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
От
Jeremy Kerr
Тема
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
Дата
Msg-id
200907151042.07891.jk@ozlabs.org
Ответ на
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros (Alvaro Herrera)
Список
Дерево обсуждения
[PATCH 0/2 v3] SIGPIPE masking in local socket connections Jeremy Kerr <jk@ozlabs.org>
[PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Jeremy Kerr <jk@ozlabs.org>
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Alvaro Herrera <alvherre@commandprompt.com>
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Jeremy Kerr <jk@ozlabs.org>
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Jeremy Kerr <jk@ozlabs.org>
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Jeremy Kerr <jk@ozlabs.org>
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Jeremy Kerr <jk@ozlabs.org>
Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros Robert Haas <robertmhaas@gmail.com>
[PATCH v4] [libpq] Try to avoid manually masking SIGPIPEs on every
send() Jeremy Kerr <jk@ozlabs.org>
Re: [PATCH v4] [libpq] Try to avoid manually masking SIGPIPEs on every send() Tom Lane <tgl@sss.pgh.pa.us>
[PATCH 2/2 v3] [libpq] Try to avoid manually masking SIGPIPEs on
every send() Jeremy Kerr <jk@ozlabs.org>
Hi, Alvaro, > Does this work in compilers other than GCC? I think we use some > kludges to protect against them ... see pg_list.h for the canonical > example. As I understand it, we're not using static inlines in pg_list.h to prevent multiple objects from exporting the same symbols if the functions don't end up as 'static inline' (ie, because the compiler doesn't support that). In this case, we're only compiling the inlines into a single object, so even if the compiler doesn't support inlines, we'll just end up with out-of-line function calls, which should work too. However, this is only my assumption about those compilers (I don't have access to other compilers to test); happy to fix these up if the inlines won't work. Cheers, Jeremy
В списке pgsql-hackers по дате отправления