Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit dbe81bf

Browse files
author
Liudmila Mantrova
committed
DOC: fix renaming of pg_clog to pg_xact
1 parent e361c5b commit dbe81bf

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

doc/src/sgml/config.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5938,7 +5938,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
59385938
<para>
59395939
Note that even when this parameter is disabled, the system
59405940
will launch autovacuum processes if necessary to shrink
5941-
<literal>pg_clog</> and <literal>pg_multixact</>. See <xref
5941+
<literal>pg_xact</> and <literal>pg_multixact</>. See <xref
59425942
linkend="vacuum-for-wraparound"> for more information.
59435943
</para>
59445944
</listitem>
@@ -6092,7 +6092,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
60926092
Specifies the maximum age (in transactions) that a table's
60936093
<structname>pg_class</>.<structfield>relfrozenxid</> field can
60946094
attain before a <command>VACUUM</> operation is forced
6095-
to shrink <literal>pg_clog</>.
6095+
to shrink <literal>pg_xact</>.
60966096
Note that the system will launch autovacuum processes for this purpose
60976097
even when autovacuum is otherwise disabled.
60986098
</para>
@@ -6626,7 +6626,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
66266626
will silently limit the effective value to 95% of
66276627
<xref linkend="guc-autovacuum-freeze-max-age">, so that a
66286628
periodical manual <command>VACUUM</> has a chance to run before an
6629-
autovacuum to shrink <literal>pg_clog</> and <literal>pg_multixact</>
6629+
autovacuum to shrink <literal>pg_xact</> and <literal>pg_multixact</>
66306630
is launched for the table. For more information see
66316631
<xref linkend="vacuum-for-wraparound">.
66326632
</para>
@@ -6673,7 +6673,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
66736673
<command>VACUUM</> will silently limit the effective value to 95% of
66746674
<xref linkend="guc-autovacuum-multixact-freeze-max-age">, so that a
66756675
periodical manual <command>VACUUM</> has a chance to run before an
6676-
autovacuum to shrink <literal>pg_clog</> and <literal>pg_multixact</>
6676+
autovacuum to shrink <literal>pg_xact</> and <literal>pg_multixact</>
66776677
is launched for the table.
66786678
For more information see <xref linkend="vacuum-for-multixact-wraparound">.
66796679
</para>

doc/src/sgml/maintenance.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
</listitem>
109109

110110
<listitem>
111-
<simpara>To shrink <literal>pg_clog</> and
111+
<simpara>To shrink <literal>pg_xact</> and
112112
<literal>pg_multixact</>.</simpara>
113113
</listitem>
114114
</orderedlist>
@@ -375,7 +375,7 @@
375375
</sect2>
376376

377377
<sect2 id="vacuum-for-wraparound">
378-
<title>Forced shrinking <literal>pg_clog</> and <literal>pg_multixact</></title>
378+
<title>Forced shrinking <literal>pg_xact</> and <literal>pg_multixact</></title>
379379

380380
<indexterm zone="vacuum-for-wraparound">
381381
<primary>transaction ID</primary>
@@ -437,9 +437,9 @@
437437
Freezing data by <command>VACUUM</> is not needed anymore for preventing
438438
wraparound, since page-level freeze happens "on the fly". However,
439439
freezing data by <command>VACUUM</> is still needed for shrink
440-
<literal>pg_clog</> and <literal>pg_multixact</>. For historical reasons,
440+
<literal>pg_xact</> and <literal>pg_multixact</>. For historical reasons,
441441
wording "autovacuum to prevent wraparound" is preserved for forced
442-
autovacuum for shrink <literal>pg_clog</> and <literal>pg_multixact</>.
442+
autovacuum for shrink <literal>pg_xact</> and <literal>pg_multixact</>.
443443
</para>
444444

445445
<note>
@@ -517,15 +517,15 @@
517517
<varname>autovacuum_freeze_max_age</>; a setting higher than that will be
518518
capped to the maximum. A value higher than
519519
<varname>autovacuum_freeze_max_age</> wouldn't make sense because an
520-
autovacuum to shrink <literal>pg_clog</> and <literal>pg_multixact</>
520+
autovacuum to shrink <literal>pg_xact</> and <literal>pg_multixact</>
521521
would be triggered at that point anyway, and
522522
the 0.95 multiplier leaves some breathing room to run a manual
523523
<command>VACUUM</> before that happens. As a rule of thumb,
524524
<command>vacuum_freeze_table_age</> should be set to a value somewhat
525525
below <varname>autovacuum_freeze_max_age</>, leaving enough gap so that
526526
a regularly scheduled <command>VACUUM</> or an autovacuum triggered by
527527
normal delete and update activity is run in that window. Setting it too
528-
close could lead to autovacuums to shrink <literal>pg_clog</> and
528+
close could lead to autovacuums to shrink <literal>pg_xact</> and
529529
<literal>pg_multixact</>, even though the table
530530
was recently vacuumed to reclaim space, whereas lower values lead to more
531531
frequent aggressive vacuuming.

doc/src/sgml/ref/create_table.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,10 +1225,10 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
12251225
and/or <command>ANALYZE</> operations on this table following the rules
12261226
discussed in <xref linkend="autovacuum">.
12271227
If false, this table will not be autovacuumed, except to shrink
1228-
<literal>pg_clog</> and <literal>pg_multixact</>.
1228+
<literal>pg_xact</> and <literal>pg_multixact</>.
12291229
See <xref linkend="vacuum-for-wraparound"> for more about that.
12301230
Note that the autovacuum daemon does not run at all (except to shrink
1231-
<literal>pg_clog</> and <literal>pg_multixact</>) if the
1231+
<literal>pg_xact</> and <literal>pg_multixact</>) if the
12321232
<xref linkend="guc-autovacuum">
12331233
parameter is false; setting individual tables' storage parameters does
12341234
not override that. Therefore there is seldom much point in explicitly

0 commit comments

Comments
 (0)