Re: pg_relation_size locking

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: pg_relation_size locking
Дата
Msg-id 439DA7AF.6050208@pse-consulting.de
обсуждение исходный текст
Ответ на pg_relation_size locking  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: pg_relation_size locking  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera wrote:
> 
> The problem with the original coding was that it used the table Oid to
> look up the file name, which is wrong.  (Test it with a table that has
> been clustered or an index that has been reindexed.)

Um, can't test at the moment. The oldcode used pg_class->relfilnode, 
which delivers "Name of the on-disk file of this relation" according to 
the docs. What's wrong with that?

regards,
Andreas


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: default resource limits
Следующее
От: Qingqing Zhou
Дата:
Сообщение: Which qsort is used