diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/sgml/config.sgml | 8 | ||||
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 58 |
2 files changed, 33 insertions, 33 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index d1e628fefc..8517b36331 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -6199,14 +6199,14 @@ LOG: CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1) </varlistentry> <varlistentry> - <term><varname>trace_lwlocks</varname> (<type>boolean</type>)</term> + <term><varname>trace_flexlocks</varname> (<type>boolean</type>)</term> <indexterm> - <primary><varname>trace_lwlocks</> configuration parameter</primary> + <primary><varname>trace_flexlocks</> configuration parameter</primary> </indexterm> <listitem> <para> - If on, emit information about lightweight lock usage. Lightweight - locks are intended primarily to provide mutual exclusion of access + If on, emit information about FlexLock usage. FlexLocks + are intended primarily to provide mutual exclusion of access to shared-memory data structures. </para> <para> diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index b9dc1d2001..98ed0d37ec 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1724,49 +1724,49 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, or kilobytes of memory used for an internal sort.</entry> </row> <row> - <entry>lwlock-acquire</entry> - <entry>(LWLockId, LWLockMode)</entry> - <entry>Probe that fires when an LWLock has been acquired. - arg0 is the LWLock's ID. - arg1 is the requested lock mode, either exclusive or shared.</entry> + <entry>flexlock-acquire</entry> + <entry>(FlexLockId, FlexLockMode)</entry> + <entry>Probe that fires when an FlexLock has been acquired. + arg0 is the FlexLock's ID. + arg1 is the requested lock mode.</entry> </row> <row> - <entry>lwlock-release</entry> - <entry>(LWLockId)</entry> - <entry>Probe that fires when an LWLock has been released (but note + <entry>flexlock-release</entry> + <entry>(FlexLockId)</entry> + <entry>Probe that fires when a FlexLock has been released (but note that any released waiters have not yet been awakened). - arg0 is the LWLock's ID.</entry> + arg0 is the FlexLock's ID.</entry> </row> <row> - <entry>lwlock-wait-start</entry> - <entry>(LWLockId, LWLockMode)</entry> - <entry>Probe that fires when an LWLock was not immediately available and + <entry>flexlock-wait-start</entry> + <entry>(FlexLockId, FlexLockMode)</entry> + <entry>Probe that fires when an FlexLock was not immediately available and a server process has begun to wait for the lock to become available. - arg0 is the LWLock's ID. + arg0 is the FlexLock's ID. arg1 is the requested lock mode, either exclusive or shared.</entry> </row> <row> - <entry>lwlock-wait-done</entry> - <entry>(LWLockId, LWLockMode)</entry> + <entry>flexlock-wait-done</entry> + <entry>(FlexLockId, FlexLockMode)</entry> <entry>Probe that fires when a server process has been released from its - wait for an LWLock (it does not actually have the lock yet). - arg0 is the LWLock's ID. + wait for an FlexLock (it does not actually have the lock yet). + arg0 is the FlexLock's ID. arg1 is the requested lock mode, either exclusive or shared.</entry> </row> <row> - <entry>lwlock-condacquire</entry> - <entry>(LWLockId, LWLockMode)</entry> - <entry>Probe that fires when an LWLock was successfully acquired when the - caller specified no waiting. - arg0 is the LWLock's ID. + <entry>flexlock-condacquire</entry> + <entry>(FlexLockId, FlexLockMode)</entry> + <entry>Probe that fires when an FlexLock was successfully acquired when + the caller specified no waiting. + arg0 is the FlexLock's ID. arg1 is the requested lock mode, either exclusive or shared.</entry> </row> <row> - <entry>lwlock-condacquire-fail</entry> - <entry>(LWLockId, LWLockMode)</entry> - <entry>Probe that fires when an LWLock was not successfully acquired when - the caller specified no waiting. - arg0 is the LWLock's ID. + <entry>flexlock-condacquire-fail</entry> + <entry>(FlexLockId, FlexLockMode)</entry> + <entry>Probe that fires when an FlexLock was not successfully acquired + when the caller specified no waiting. + arg0 is the FlexLock's ID. arg1 is the requested lock mode, either exclusive or shared.</entry> </row> <row> @@ -1813,11 +1813,11 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, <entry>unsigned int</entry> </row> <row> - <entry>LWLockId</entry> + <entry>FlexLockId</entry> <entry>int</entry> </row> <row> - <entry>LWLockMode</entry> + <entry>FlexLockMode</entry> <entry>int</entry> </row> <row> |