diff options
author | Jeff Davis | 2024-10-18 17:44:15 +0000 |
---|---|---|
committer | Jeff Davis | 2024-10-18 17:44:15 +0000 |
commit | b391d882ff38da423dc99fc6224bde4be4100212 (patch) | |
tree | 52cf96bce34458187f3db45405e7ccedc1aa6f47 /doc/src | |
parent | 1bd4bc85cac2b23484a6b568a752de0351c2cc5b (diff) |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/func.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index f8a0d76d12b..ad663c94d77 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -30197,7 +30197,7 @@ DETAIL: Make sure pg_wal_replay_wait() isn't called within a transaction with a </para> <para> The value of <structfield>relpages</structfield> must be greater than - or equal to <literal>0</literal>, + or equal to <literal>-1</literal>, <structfield>reltuples</structfield> must be greater than or equal to <literal>-1.0</literal>, and <structfield>relallvisible</structfield> must be greater than or equal to <literal>0</literal>. |