Re: Spelling of lock names - Mailing list pgsql-docs

From Tom Lane
Subject Re: Spelling of lock names
Date
Msg-id 2736.1016822150@sss.pgh.pa.us
Whole thread Raw
In response to Spelling of lock names  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: Stalled post to pgsql-docs
Next
From: Rich Morin
Date:
Subject: Re: pagination in the PostgreSQL 7.2 Programmer's Guide