Allow pg_set_relation_stats() to set relpages to -1.

Jeff Davis <jdavis@postgresql.org>

Commit: b391d882ff38da423dc99fc6224bde4be4100212
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2024-10-18T17:44:15Z
Releases: 18.0
Allow pg_set_relation_stats() to set relpages to -1.

While the default value for relpages is 0, if a partitioned table with
at least one child has been analyzed, then the partititoned table will
have a relpages value of -1.

Author: Corey Huinker
Discussion: https://postgr.es/m/CADkLM=fajh1Lpcyr_XsMmq-9Z=SGk-u+_Zeac7Pt0RAN3uiVCg@mail.gmail.com

Files

Documentation touched

Discussion