Re: APR 1.0 released

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: APR 1.0 released
Дата
Msg-id 16368.1094339356@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: APR 1.0 released  (Gaetano Mendola <mendola@bigfoot.com>)
Ответы Re: APR 1.0 released  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-hackers
Gaetano Mendola <mendola@bigfoot.com> writes:
> Don't you think that use of APR could save time ?

No, because we've already *done* the work it would purport to save.
It would cost us work to adapt our code to sit on top of APR, and
it's not clear to me that we'd be getting anything for it.

IIRC, this was proposed before and we looked at APR in some detail,
and came to the conclusion that it wouldn't be worth changing.  See
the archives.

> Don't you think in some cases spawn a couple of
> thread could improve it ?

The fact that we were on top of APR would not automagically mean that
we could thread-ize the backend, nor that we would want to.

> I don't know if APR provide a spin lock mechanism,

You don't even know that, but you're confident that we can throw away
our spinlock work and use APR anyway.  You're wasting our time.  Get
some evidence if you want to propose this.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Adding columns in the middle of tables
Следующее
От: Gaetano Mendola
Дата:
Сообщение: invalid string enlargment PG 7.4.5 ( SOLVED )