|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.301 2010/07/27 19:01:16 petere Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.302 2010/07/29 19:34:40 petere Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter Id="runtime-config">
|
4 | 4 | <title>Server Configuration</title>
|
@@ -5808,29 +5808,20 @@ plruby.use_strict = true # generates error: unknown class name
|
5808 | 5808 | type a count of the number of granted locks and waiting locks is
|
5809 | 5809 | also dumped as well as the totals. An example of the log file output
|
5810 | 5810 | is shown here:
|
5811 |
| - </para> |
5812 |
| - <para> |
5813 |
| - LOG: LockAcquire: new: lock(0xb7acd844) id(24688,24696,0,0,0,1) |
5814 |
| - grantMask(0) req(0,0,0,0,0,0,0)=0 grant(0,0,0,0,0,0,0)=0 |
5815 |
| - wait(0) type(AccessShareLock) |
5816 |
| - </para> |
5817 |
| - <para> |
5818 |
| - LOG: GrantLock: lock(0xb7acd844) id(24688,24696,0,0,0,1) |
5819 |
| - grantMask(2) req(1,0,0,0,0,0,0)=1 grant(1,0,0,0,0,0,0)=1 |
5820 |
| - wait(0) type(AccessShareLock) |
5821 |
| - |
5822 |
| - </para> |
5823 |
| - <para> |
5824 |
| - LOG: UnGrantLock: updated: lock(0xb7acd844) id(24688,24696,0,0,0,1) |
5825 |
| - grantMask(0) req(0,0,0,0,0,0,0)=0 grant(0,0,0,0,0,0,0)=0 |
5826 |
| - wait(0) type(AccessShareLock) |
5827 |
| - </para> |
5828 |
| - <para> |
5829 |
| - LOG: CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1) |
5830 |
| - grantMask(0) req(0,0,0,0,0,0,0)=0 grant(0,0,0,0,0,0,0)=0 |
5831 |
| - wait(0) type(INVALID) |
5832 |
| - </para> |
5833 |
| - <para> |
| 5811 | +<screen> |
| 5812 | +LOG: LockAcquire: new: lock(0xb7acd844) id(24688,24696,0,0,0,1) |
| 5813 | + grantMask(0) req(0,0,0,0,0,0,0)=0 grant(0,0,0,0,0,0,0)=0 |
| 5814 | + wait(0) type(AccessShareLock) |
| 5815 | +LOG: GrantLock: lock(0xb7acd844) id(24688,24696,0,0,0,1) |
| 5816 | + grantMask(2) req(1,0,0,0,0,0,0)=1 grant(1,0,0,0,0,0,0)=1 |
| 5817 | + wait(0) type(AccessShareLock) |
| 5818 | +LOG: UnGrantLock: updated: lock(0xb7acd844) id(24688,24696,0,0,0,1) |
| 5819 | + grantMask(0) req(0,0,0,0,0,0,0)=0 grant(0,0,0,0,0,0,0)=0 |
| 5820 | + wait(0) type(AccessShareLock) |
| 5821 | +LOG: CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1) |
| 5822 | + grantMask(0) req(0,0,0,0,0,0,0)=0 grant(0,0,0,0,0,0,0)=0 |
| 5823 | + wait(0) type(INVALID) |
| 5824 | +</screen> |
5834 | 5825 | Details of the structure being dumped may be found in
|
5835 | 5826 | src/include/storage/lock.h
|
5836 | 5827 | </para>
|
|
0 commit comments