diff options
Diffstat (limited to 'doc/src/sgml/pgbuffercache.sgml')
-rw-r--r-- | doc/src/sgml/pgbuffercache.sgml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/src/sgml/pgbuffercache.sgml b/doc/src/sgml/pgbuffercache.sgml index 4e53009ae07..18ac781d0db 100644 --- a/doc/src/sgml/pgbuffercache.sgml +++ b/doc/src/sgml/pgbuffercache.sgml @@ -37,7 +37,7 @@ </para> <table id="pgbuffercache-columns"> - <title><structname>pg_buffercache</> Columns</title> + <title><structname>pg_buffercache</structname> Columns</title> <tgroup cols="4"> <thead> @@ -54,7 +54,7 @@ <entry><structfield>bufferid</structfield></entry> <entry><type>integer</type></entry> <entry></entry> - <entry>ID, in the range 1..<varname>shared_buffers</></entry> + <entry>ID, in the range 1..<varname>shared_buffers</varname></entry> </row> <row> @@ -83,7 +83,7 @@ <entry><type>smallint</type></entry> <entry></entry> <entry>Fork number within the relation; see - <filename>include/common/relpath.h</></entry> + <filename>include/common/relpath.h</filename></entry> </row> <row> @@ -120,22 +120,22 @@ <para> There is one row for each buffer in the shared cache. Unused buffers are - shown with all fields null except <structfield>bufferid</>. Shared system + shown with all fields null except <structfield>bufferid</structfield>. Shared system catalogs are shown as belonging to database zero. </para> <para> Because the cache is shared by all the databases, there will normally be pages from relations not belonging to the current database. This means - that there may not be matching join rows in <structname>pg_class</> for + that there may not be matching join rows in <structname>pg_class</structname> for some rows, or that there could even be incorrect joins. If you are - trying to join against <structname>pg_class</>, it's a good idea to - restrict the join to rows having <structfield>reldatabase</> equal to + trying to join against <structname>pg_class</structname>, it's a good idea to + restrict the join to rows having <structfield>reldatabase</structfield> equal to the current database's OID or zero. </para> <para> - When the <structname>pg_buffercache</> view is accessed, internal buffer + When the <structname>pg_buffercache</structname> view is accessed, internal buffer manager locks are taken for long enough to copy all the buffer state data that the view will display. This ensures that the view produces a consistent set of results, while not |