<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2017-10-07 13:42:41 +0900 (Sat, 07 Oct 2017)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2">685b329b6e4e86966714ed24d10ceb77a0e301f2</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Improve estimation index search with IMMUTABLE/STABLE function call</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78ad">src/pgroonga.c</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: src/pgroonga.c (+7 -4)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5010">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5011">5011</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5012">5012</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5013">5013</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5014">5014</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5015">5015</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5016">5016</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5017">5017</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5031">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5032">5032</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5033">5033</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5034">5034</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5035">5035</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5036">5036</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5037">5037</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5052">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5053">5053</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5054">5054</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5055">5055</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5056">5056</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5057">5057</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5058">5058</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5059">5059</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5082">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5083">5083</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5084">5084</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5085">5085</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5086">5086</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5087">5087</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5088">5088</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5089">5089</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5137">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5138">5138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5139">5139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5140">5140</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5141">5141</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5142">5142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5143">5143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adL5144">5144</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5010">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5011">5011</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5012">5012</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5013">5013</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5014">5014</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5015">5015</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5016">5016</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5017">5017</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5031">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5032">5032</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5033">5033</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5034">5034</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5035">5035</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5036">5036</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5037">5037</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5038">5038</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5053">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5054">5054</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5055">5055</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5056">5056</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5057">5057</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5058">5058</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5059">5059</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5060">5060</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5061">5061</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5062">5062</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5085">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5086">5086</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5087">5087</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5088">5088</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5089">5089</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5090">5090</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5091">5091</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5092">5092</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5140">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5141">5141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5142">5142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5143">5143</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5144">5144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5145">5145</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5146">5146</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/pgroonga/pgroonga/commit/685b329b6e4e86966714ed24d10ceb77a0e301f2#diff-e9c716e8d0dfa0be009c2bed075c78adR5147">5147</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -5011,7 +5011,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">pgroonga_canreturn(PG_FUNCTION_ARGS)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> static void</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-PGrnCostEstimateUpdateSelectivity(IndexPath *path)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+PGrnCostEstimateUpdateSelectivity(<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">PlannerInfo *root, </span>IndexPath *path)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         IndexOptInfo *indexInfo = path-&gt;indexinfo;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         Relation index;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -5032,6 +5032,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">PGrnCostEstimateUpdateSelectivity(IndexPath *path)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 Oid rightType;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 Node *leftNode;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 Node *rightNode;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                Node *estimatedRightNode;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 Var *var;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 int nthAttribute = InvalidAttrNumber;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 Oid opFamily = InvalidOid;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -5053,7 +5054,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">PGrnCostEstimateUpdateSelectivity(IndexPath *path)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 if (!IsA(leftNode, Var))</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                         continue;</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                if (!IsA(rightNode, Const))</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                estimatedRightNode = estimate_expression_value(root, rightNode);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                if (!IsA(estimatedRightNode, Const))</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                         continue;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 var = (Var *) leftNode;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -5083,7 +5086,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">PGrnCostEstimateUpdateSelectivity(IndexPath *path)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 key.sk_flags = 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 key.sk_attno = nthAttribute;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 key.sk_strategy = strategy;</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                key.sk_argument = ((Const *) <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">r</span>ightNode)-&gt;constvalue;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                key.sk_argument = ((Const *) <span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">estimatedR</span>ightNode)-&gt;constvalue;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 PGrnSearchDataInit(&amp;data, sourcesTable);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 if (PGrnSearchBuildCondition(index, &amp;key, &amp;data))</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -5138,7 +5141,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">pgroonga_costestimate_raw(PlannerInfo *root,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         )</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-        PGrnCostEstimateUpdateSelectivity(path);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        PGrnCostEstimateUpdateSelectivity(<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">root, </span>path);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         *indexSelectivity = clauselist_selectivity(root,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                                                                            path-&gt;indexquals,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                                                                            path-&gt;indexinfo-&gt;rel-&gt;relid,</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>