A trivial doc patch for pgstattuple
Started by Hitoshi Haradaalmost 17 years ago2 messages
The sgml doc mentions about HeapTupleSatisfiesNow() but currently we
have HeapTupleSatisfiesVisibility() instead.
Regards,
diff --git a/doc/src/sgml/pgstattuple.sgml b/doc/src/sgml/pgstattuple.sgml
index 821f631..0bba5fe 100644
--- a/doc/src/sgml/pgstattuple.sgml
+++ b/doc/src/sgml/pgstattuple.sgml
@@ -117,7 +117,7 @@ free_percent | 1.95
<para>
<function>pgstattuple</function> judges a tuple is <quote>dead</> if
- <function>HeapTupleSatisfiesNow</> returns false.
+ <function>HeapTupleSatisfiesVisibility</> returns false.
</para>
</listitem>
</varlistentry>
--
Hitoshi Harada
Re: A trivial doc patch for pgstattuple
Hitoshi Harada <umi.tanuki@gmail.com> writes:
The sgml doc mentions about HeapTupleSatisfiesNow() but currently we
have HeapTupleSatisfiesVisibility() instead.
I think the wording is fine (and more useful) as-is. Remember
HeapTupleSatisfiesVisibility is just a macro, and since we are calling
it with SnapshotNow, the actual decision is made by
HeapTupleSatisfiesNow.
regards, tom lane