diff options
author | Jeff Davis | 2024-12-11 00:30:37 +0000 |
---|---|---|
committer | Jeff Davis | 2024-12-11 00:30:37 +0000 |
commit | a43567483c617fb046c805b61964d5168c9a0553 (patch) | |
tree | d24eb2f5904f7b7e21ef5fc23a70e2a28bb651ae /doc/src/sgml/func.sgml | |
parent | 8ede5016859e151003fdb662e13d11e43f372174 (diff) |
Use in-place updates for pg_restore_relation_stats().
This matches the behavior of vac_update_relstats(), which is important
to avoid bloating pg_class.
Author: Corey Huinker
Discussion: https://postgr.es/m/CADkLM=fc3je+ufv3gsHqjjSSf+t8674RXpuXW62EL55MUEQd-g@mail.gmail.com
Diffstat (limited to 'doc/src/sgml/func.sgml')
-rw-r--r-- | doc/src/sgml/func.sgml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 8b81106fa23..2c35252dc06 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -30176,6 +30176,14 @@ postgres=# SELECT '0/0'::pg_lsn + pd.segment_number * ps.setting::int + :offset errors when restoring statistics from previous versions. </para> <para> + To match the behavior of <xref linkend="sql-vacuum"/> and <xref + linkend="sql-analyze"/> when updating relation statistics, + <function>pg_restore_relation_stats()</function> does not follow MVCC + transactional semantics (see <xref linkend="mvcc"/>). New relation + statistics may be durable even if the transaction aborts, and the + changes are not isolated from other transactions. + </para> + <para> Arguments are passed as pairs of <replaceable>argname</replaceable> and <replaceable>argvalue</replaceable>, where <replaceable>argname</replaceable> corresponds to a named argument in |