> [!NOTE] ![[assets/wl_lwlock_waiteventcustom.png|256]]
>
> | | |
> | :--- | :--- |
> | **Wait Category** | LWLock |
> | **Mechanism** | `WaitEventCustomLock` |
> | **Operations** | [[Operations/Other/FunctionScan]] |
> | **Resources** | [[Resources/RAM|Memory]], [[Resources/CPU|CPU]] |
>
> Contention on the **Observability Extension Layer**. To maintain high resolution in performance tracing, Postgres allows extension authors (e.g., those for auditing or custom indexing) to define and report their own "Wait Points" using the same internal infrastructure as the core engine.