Re: Word-smithing doc changes

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Word-smithing doc changes
Дата
Msg-id CAM-w4HPnN=7QyhdkEOpZ+hBGi4sHGv-N6L+OCvGWEHVqQPUTdg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Word-smithing doc changes  (Greg Smith <greg@2ndQuadrant.com>)
Ответы Re: Word-smithing doc changes  (Greg Smith <greg@2ndQuadrant.com>)
Список pgsql-hackers
On Wed, Nov 30, 2011 at 8:02 AM, Greg Smith <greg@2ndquadrant.com> wrote:
>>>> Except in the sections talking about locking
>>>> internals we don't talk about "shared locks on virtual transactions
>>>> identifiers" we just talk about waiting for a transaction to complete.

> What I cannot agree with is that idea that the implementation details I
> suggested documenting should not be.

What I'm suggesting is translating things like "shared locks on
virtual transaction identifiers" into what that means for users.
Namely saying something like "waiting for a transaction to complete".

Given your confusion it's clear that we have to explain that it will
wait one by one for each transaction that was started before the index
was created to finish. I don't think we need to explain how that's
implemented. If we do it should be set aside in some way, something
like "(see virtual transaction id locks in <href...>)".

I just want to keep in mind that the reader here is trying to
understand how to use create index concurrently, not understand how
Postgres's locking infrastructure works in general.



-- 
greg


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Why so few built-in range types?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: review: CHECK FUNCTION statement