select open change scope Open full search

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

FUNCTIONS / SYSTEM ADMINISTRATION FUNCTIONS

pg_xlog_location_diff

Read PG 9.6 manual ↗

Calculate the difference between two transaction log locations

Historical documentation for a PostgreSQL version that is no longer supported.

Signatures & examples

pg_xlog_location_diff ( location pg_lsn, location pg_lsn ) → numeric
Calculate the difference between two transaction log locations
Version history 3
  1. PG 9.6 → 10removed
  2. PG 9.3 → 9.4changed
  3. PG 9.1 → 9.2added

Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source