pgsql: Fix oversight in sizing of shared buffer lookup hashtable.

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix oversight in sizing of shared buffer lookup hashtable.
Дата
Msg-id 20060723183450.EBAC69FA6B1@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix oversight in sizing of shared buffer lookup hashtable.  Because
BufferAlloc tries to insert a new mapping entry before deleting the old one
for a buffer, we have a transient need for more than NBuffers entries ---
one more in 8.1, and as many as NUM_BUFFER_PARTITIONS more in CVS HEAD.
In theory this could lead to an "out of shared memory" failure if shmem
had already been completely claimed by the time the extra entries were
needed.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/storage/buffer:
        freelist.c (r1.54 -> r1.54.2.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/freelist.c.diff?r1=1.54&r2=1.54.2.1)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix oversight in sizing of shared buffer lookup hashtable.
Следующее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - lo: Bump to version 0.4.