pg_shmem_allocations & documentation

Поиск
Список
Период
Сортировка
От Benoit Lobréau
Тема pg_shmem_allocations & documentation
Дата
Msg-id CAPE8EZ5Lnoyqoz7aZpvQM0E8sW+hw+k6G2NULe+m4arFRrA1aA@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_shmem_allocations & documentation  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
Hi,

While reading the documentation of pg_shmem_allocations, I noticed that the off column is described as such : 

"The offset at which the allocation starts. NULL for anonymous allocations and unused memory."

Whereas, the view returns a value for unused memory: 

[local]:5433 postgres@postgres=# SELECT * FROM pg_shmem_allocations WHERE name IS NULL;
 name |    off    |  size   | allocated_size 
------+-----------+---------+----------------
 ¤    | 178095232 | 1923968 |        1923968
(1 row)

From what I understand, the doc is wrong.
Am I right ?

Benoit

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

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: Parallel INSERT (INTO ... SELECT ...)
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: Single transaction in the tablesync worker?