A trivial doc patch for pgstattuple
A trivial doc patch for pgstattuple
От:
Hitoshi Harada <umi.tanuki@gmail.com>
Дата:
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
pgstattuple judges a tuple is dead</> if
- HeapTupleSatisfiesNow</> returns false.
+ HeapTupleSatisfiesVisibility</> returns false.
--
Hitoshi Harada
Re: A trivial doc patch for pgstattuple
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Hitoshi Harada 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