Re: Preventing abort() and exit() calls in libpq

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Preventing abort() and exit() calls in libpq
Дата
Msg-id 20210703001639.GB2374652@rfd.leadboat.com
обсуждение исходный текст
Ответ на Re: Preventing abort() and exit() calls in libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Preventing abort() and exit() calls in libpq
Список pgsql-hackers
On Fri, Jul 02, 2021 at 11:20:17AM -0400, Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > Now it's hoverfly:
> > ! nm -A -u libpq.so.5 2>/dev/null | grep -v __cxa_atexit | grep exit
> > libpq.so.5: atexit               U           -
> > libpq.so.5: pthread_exit         U           -
> 
> Ugh.  What in the world is producing those references?

Those come from a statically-linked libldap_r:

$ nm -A -u /home/nm/sw/nopath/openldap-64/lib/libldap_r.a|grep exit
/home/nm/sw/nopath/openldap-64/lib/libldap_r.a[tpool.o]: .ldap_pvt_thread_exit U           -
/home/nm/sw/nopath/openldap-64/lib/libldap_r.a[thr_posix.o]: .pthread_exit        U           -
/home/nm/sw/nopath/openldap-64/lib/libldap_r.a[init.o]: .atexit              U           -



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Preventing abort() and exit() calls in libpq
Следующее
От: Jeremy Schneider
Дата:
Сообщение: Re: relation OID in ReorderBufferToastReplace error message