Re: Decrease MAX_BACKENDS to 2^16

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Decrease MAX_BACKENDS to 2^16
Дата
Msg-id 20140426124021.GN16465@fetter.org
обсуждение исходный текст
Ответ на Decrease MAX_BACKENDS to 2^16  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Decrease MAX_BACKENDS to 2^16  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On Sat, Apr 26, 2014 at 12:15:40AM +0200, Andres Freund wrote:
> Hi,
> 
> Currently the maximum for max_connections (+ bgworkers + autovacuum) is
> defined by
> #define MAX_BACKENDS    0x7fffff
> which unfortunately means that some things like buffer reference counts
> need a full integer to store references.

Out of curiosity, where are you finding that a 32-bit integer is
causing problems that a 16-bit one would solve?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: includedir_internal headers are not self-contained
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Problem with displaying "wide" tables in psql