This file is indexed.

/usr/share/doc/cl-sql/html/cache-table-queries.html is in cl-sql 6.7.0-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>CACHE-TABLE-QUERIES</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="CLSQL Users' Guide" /><link rel="up" href="ref-fdml.html" title="Functional Data Manipulation Language (FDML)" /><link rel="prev" href="cache-table-queries-default.html" title="*CACHE-TABLE-QUERIES-DEFAULT*" /><link rel="next" href="insert-records.html" title="INSERT-RECORDS" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">CACHE-TABLE-QUERIES</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cache-table-queries-default.html">Prev</a> </td><th width="60%" align="center">Functional Data Manipulation Language (FDML)</th><td width="20%" align="right"> <a accesskey="n" href="insert-records.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="cache-table-queries"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>CACHE-TABLE-QUERIES — Control the caching of table attribute types.<strong>Function</strong></p></div><div class="refsect1"><a id="idp72617312"></a><h2>Syntax</h2><pre class="synopsis">
      <code class="function">cache-table-queries</code> <em class="replaceable"><code>table</code></em> &amp;key <em class="replaceable"><code>action</code></em> <em class="replaceable"><code>database</code></em> =&gt; <span class="returnvalue"></span></pre></div><div class="refsect1"><a id="idp72621120"></a><h2>Arguments and Values</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>table</code></em></span></dt><dd><p>
              A string representing a database table, <code class="constant">T</code> or
              <span class="symbol">:default</span>.
            </p></dd><dt><span class="term"><em class="parameter"><code>action</code></em></span></dt><dd><p>
              <code class="constant">T</code>, <code class="constant">NIL</code> or <span class="symbol">:flush</span>. 
            </p></dd><dt><span class="term"><em class="parameter"><code>database</code></em></span></dt><dd><p>A 
            <a class="glossterm" href="glossary.html#gloss-database-object"><em class="glossterm">database
            object</em></a>. This will default to the value
            of <span class="symbol">*default-database*</span>.</p></dd></dl></div></div><div class="refsect1"><a id="idp71245328"></a><h2>Description</h2><p>Controls the caching of attribute type information on the
      table specified by <em class="parameter"><code>table</code></em> in
      <em class="parameter"><code>database</code></em> which defaults to
      <span class="symbol">*default-database*</span>. <em class="parameter"><code>action</code></em>
      specifies the caching behaviour to adopt. If its value is <code class="constant">T</code>
      then attribute type information is cached whereas if its value
      is <code class="constant">NIL</code> then attribute type information is not cached. If
      <em class="parameter"><code>action</code></em> is <span class="symbol">:flush</span> then
      all existing type information in the cache for
      <em class="parameter"><code>table</code></em> is removed, but caching is still
      enabled. <em class="parameter"><code>table</code></em> may be a string
      representing a table for which the caching action is to be taken
      while the caching action is applied to all tables if
      <em class="parameter"><code>table</code></em> is <code class="constant">T</code>. Alternatively, when
      <em class="parameter"><code>table</code></em> is <span class="symbol">:default</span>, the
      default caching action specified by
      <span class="symbol">*cache-table-queries-default*</span> is applied to all
      tables for which a caching action has not been explicitly set.
      </p></div><div class="refsect1"><a id="idp71255696"></a><h2>Examples</h2><pre class="screen">
(setf *cache-table-queries-default* t)
=&gt; T
(create-table [foo]
              '(([id] integer)
                ([height] float)
                ([name] (string 24))
                ([comments] varchar)))
=&gt; 
(cache-table-queries "foo")
=&gt; 
(list-attribute-types "foo")
=&gt; (("id" :INT4 4 NIL 1) ("height" :FLOAT8 8 NIL 1) ("name" :BPCHAR 24 NIL 1)
    ("comments" :VARCHAR 255 NIL 1))
(drop-table "foo")
=&gt; 
(create-table [foo]
              '(([id] integer)
                ([height] float)
                ([name] (string 36))
                ([comments] (string 100))))
=&gt; 
(cache-table-queries "foo" :action :flush)
=&gt; 
(list-attribute-types "foo")
=&gt; (("id" :INT4 4 NIL 1) ("height" :FLOAT8 8 NIL 1) ("name" :BPCHAR 36 NIL 1)
    ("comments" :BPCHAR 100 NIL 1))
      </pre></div><div class="refsect1"><a id="idp71258064"></a><h2>Side Effects</h2><p>
        The internal attribute cache for
        <em class="parameter"><code>database</code></em> is modified.
       </p></div><div class="refsect1"><a id="idp75032576"></a><h2>Affected by</h2><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="link" href="cache-table-queries-default.html" title="*CACHE-TABLE-QUERIES-DEFAULT*"><span class="symbol">*cache-table-queries-default*</span></a></td></tr></table></div><div class="refsect1"><a id="idp75035168"></a><h2>Exceptional Situations</h2><p>
        None. 
      </p></div><div class="refsect1"><a id="idp75036512"></a><h2>See Also</h2><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="link" href="cache-table-queries-default.html" title="*CACHE-TABLE-QUERIES-DEFAULT*"><span class="symbol">*cache-table-queries-default*</span></a></td></tr></table></div><div class="refsect1"><a id="idp75039136"></a><h2>Notes</h2><p>
        None. 
      </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cache-table-queries-default.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref-fdml.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="insert-records.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">*CACHE-TABLE-QUERIES-DEFAULT* </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> INSERT-RECORDS</td></tr></table></div></body></html>