Re: Graceful way to handle too many locks

2024-11-13 Thread Robert Haas
On Wed, Nov 13, 2024 at 2:05 PM Chris Cleveland wrote: > In my extension I got a mystery error: > > TRAP: failed Assert("InterruptHoldoffCount > 0"), File: "lwlock.c", Line: > 1869, PID: 62663 > 0 postgres 0x00010135adb4 ExceptionalCondition + 108 > 1 postgres 0x0001012235ec LWLockRelease

Re: Graceful way to handle too many locks

2024-11-13 Thread Tomas Vondra
On 11/13/24 20:05, Chris Cleveland wrote: > In my extension I got a mystery error: > > TRAP: failed Assert("InterruptHoldoffCount > 0"), File: "lwlock.c", > Line: 1869, PID: 62663 > 0postgres 0x00010135adb4ExceptionalCondition + 108 > 1postgres 0x0001012235ecLWLockRelease + 1456 > 2post

Graceful way to handle too many locks

2024-11-13 Thread Chris Cleveland
In my extension I got a mystery error: TRAP: failed Assert("InterruptHoldoffCount > 0"), File: "lwlock.c", Line: 1869, PID: 62663 0 postgres 0x00010135adb4 ExceptionalCondition + 108 1 postgres 0x0001012235ec LWLockRelease + 1456 2 postgres 0x0001011faebc UnlockReleaseBuffer + 24 Turn