Re: Spelling of lock names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Spelling of lock names
Дата
Msg-id 2736.1016822150@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Spelling of lock names  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-docs
Peter Eisentraut <peter_e@gmx.net> writes:
> The current spelling corresponds to the internal identifier names, but not
> to any user-level command syntax, so I don't consider it appropriate for
> user-level documentation.

I agree that the internal coding should not dictate what the
documentation uses, but I'm not sure that I see the improvement from
    ShareRowExclusiveLock
to
    share-row-exclusive lock
when the thing the user might actually write is
    LOCK foo IN SHARE ROW EXCLUSIVE MODE

It'd seem that
    SHARE ROW EXCLUSIVE lock
(perhaps font-ifying what I've upcased here) would be the closest thing
to the user-visible syntax.

            regards, tom lane

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

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: Re: Stalled post to pgsql-docs
Следующее
От: Rich Morin
Дата:
Сообщение: Re: pagination in the PostgreSQL 7.2 Programmer's Guide