↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / System Administration Functions

pg_clear_relation_stats

Read the PG 18 manual

Clears table-level statistics for the given relation, as though the table was newly created.

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

Signatures & examples

pg_clear_relation_stats ( schemaname text, relname text ) → void
Clears table-level statistics for the given relation, as though the table was newly created.
Version history 1
  1. 17 → 18 added

Definition snapshot: b7bd9cda · English manual source