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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Preventing abort() and exit() calls in libpq
Дата
Msg-id 1231771.1625321413@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Preventing abort() and exit() calls in libpq  (Noah Misch <noah@leadboat.com>)
Ответы Re: Preventing abort() and exit() calls in libpq
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Fri, Jul 02, 2021 at 11:20:17AM -0400, Tom Lane wrote:
>> Ugh.  What in the world is producing those references?

> Those come from a statically-linked libldap_r:

Blech!  I wonder if there is some way to avoid counting that.
It's not really hard to imagine that such a library might
contain an exit() call, for example, thus negating our test
altogether.

I'm now wondering about applying the test to *.o in libpq,
as well as libpgport_shlib.a and libpgcommon_shlib.a.
The latter would require some code changes, and it would make
the prohibition extend further than libpq alone.  On the bright
side, we could reinstate the check for abort().

            regards, tom lane



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

Предыдущее
От: Andy Fan
Дата:
Сообщение: Re: Keep notnullattrs in RelOptInfo (Was part of UniqueKey patch series)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: rand48 replacement