↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / System Information Functions And Operators

pg_safe_snapshot_blocking_pids

Read the PG 18 manual

Returns an array of the process ID(s) of the sessions that are blocking the server process with the specified process ID from acquiring a safe snapshot, or an empty array if there is no such server process or it is not blocked.

Reading PG 18current·documented in 11 of 27 versions, 10 to 20

Signatures & examples

pg_safe_snapshot_blocking_pids ( integer ) → integer[]
Returns an array of the process ID(s) of the sessions that are blocking the server process with the specified process ID from acquiring a safe snapshot, or an empty array if there is no such server process or it is not blocked.
Version history 2
  1. 12 → 13 changed
  2. 9.6 → 10 added

Definition snapshot: b7bd9cda · English manual source