• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

firtst release


Commit MetaInfo

Revisiónc9e741624f1695e955413003070b8e2142f4feae (tree)
Tiempo2019-01-17 14:16:50
AutorKyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

Change copyright year to 2019

With some minor fixes in the document.

Cambiar Resumen

Diferencia incremental

--- a/COPYRIGHT.postgresql
+++ b/COPYRIGHT.postgresql
@@ -2,7 +2,7 @@ core.c and make_join_rel.c are parts of PostgreSQL Database Management System.
22 (formerly known as Postgres, then as Postgres95)
33 Copyright holders of those files are following organizations:
44
5-Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
5+Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
66
77 Portions Copyright (c) 1994, The Regents of the University of California
88
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
11 #
22 # pg_hint_plan: Makefile
33 #
4-# Copyright (c) 2012-2018, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
4+# Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
55 #
66
77 MODULES = pg_hint_plan
--- a/SPECS/pg_hint_plan95.spec
+++ b/SPECS/pg_hint_plan95.spec
@@ -1,5 +1,5 @@
1-# SPEC file for pg_store_plans
2-# Copyright(C) 2016-2018 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
1+# SPEC file for pg_hint_plan
2+# Copyright(C) 2019 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
33
44 %define _pgdir /usr/pgsql-9.5
55 %define _bindir %{_pgdir}/bin
--- a/core.c
+++ b/core.c
@@ -20,7 +20,8 @@
2020 * mark_dummy_rel()
2121 * restriction_is_constant_false()
2222 *
23- * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
23+ *
24+ * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
2425 * Portions Copyright (c) 1994, Regents of the University of California
2526 *
2627 *-------------------------------------------------------------------------
--- a/doc/hint_list-ja.html
+++ b/doc/hint_list-ja.html
@@ -102,6 +102,6 @@ PostgreSQL 9.2以降で動作します。</td></tr>
102102 <a href="hint_list-ja.html">Appendix A. ヒント句一覧</a>
103103 </div>
104104
105-<p class="footer">Copyright (c) 2012-2014, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
105+<p class="footer">Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
106106 </body>
107107 </html>
--- a/doc/hint_list.html
+++ b/doc/hint_list.html
@@ -85,6 +85,6 @@
8585 <a href="hint_list-ja.html">Appendix A. hints list</a>
8686 </div>
8787
88-<p class="footer">Copyright (c) 2012, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
88+<p class="footer">Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
8989 </body>
9090 </html>
--- a/doc/pg_hint_plan-ja.html
+++ b/doc/pg_hint_plan-ja.html
@@ -628,10 +628,6 @@ postgres=# WHERE aid IN (SELECT bid FROM pgbench_accounts a2 LIMIT 10);
628628
629629 postgres=#
630630 </pre>
631-<<<<<<< HEAD
632-一つのクエリで上記のような副問い合わせを複数使用している場合は、「ANY_subquery」と指定しても対象を特定できないため、ヒント句はエラーとなり無視されます。</br>
633-=======
634-
635631 <dt><h3>IndexOnlyScanヒント句</h3></dt>
636632 <dd>ヒント句の対象となるテーブルにIndex Only Scanが可能なインデックスとIndex Only Scanが不可能なインデックスが同時に存在する場合、Index Only Scanが可能なインデックスをテーブルに対してIndexOnlyScanヒント句を追加で指定しないとIndex Scanが選択されることがあります。</dd>
637633
@@ -641,7 +637,6 @@ postgres=#
641637
642638 <dt><h3>UNION に対する並列実行ヒント</h3></dt>
643639 <dd>UNIONは直下のサブクエリが全て並列実行可能な場合にだけ並列実行を行います。一方ですべてのサブクエリが並列実行可能な場合は、そのうちの一つで並列実行を強制するとコスト比較の結果UNION全体が並列実行されることになります。ただし並列実行ヒントによる並列実行の禁止を行った場合はそのスキャンは並列実行不可となります。
644->>>>>>> c6204a7... Added a notice in the manual.
645640 </dd>
646641 <dt>IndexOnlyScanヒント句の指定(PostgreSQL 9.2以降)</dt>
647642 <dd>ヒント句の対象となるテーブルにIndex Only Scanが可能なインデックスとIndex Only Scanが不可能なインデックスが存在する場合、Index Only Scanが可能なインデックスをテーブルと併せてIndexOnlyScanヒント句に指定しないとIndex Scanが選択されることがあります。</dd>
@@ -697,9 +692,9 @@ postgres=#
697692 <h2 id="requirement">動作環境</h2>
698693 <dl>
699694 <dt>PostgreSQL</dt>
700- <dd>バージョン 9.1, 9.2, 9.3, 9.4</dd>
695+ <dd>バージョン 9.5</dd>
701696 <dt>動作確認済みOS</dt>
702- <dd>RHEL 6.5</dd>
697+ <dd>RHEL 7.5</dd>
703698 </dl>
704699
705700 <h2 id="seealso">関連項目</h2>
@@ -713,19 +708,6 @@ postgres=#
713708 <a href="pg_hint_plan-ja.html">pg_hint_plan</a>
714709 </div>
715710
716-<p class="footer">Copyright (c) 2012-2014, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
717-
718-<!--
719-<script type="text/javascript">
720-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
721-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
722-</script><script src="pg_statsinfo-ja_files/ga.js" type="text/javascript"></script>
723-<script type="text/javascript">
724-try{
725-var pageTracker = _gat._getTracker("UA-10244036-6");
726-pageTracker._trackPageview();
727-} catch(err) {}
728-</script>
729--->
711+<p class="footer">Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
730712 </body>
731713 </html>
--- a/doc/pg_hint_plan.html
+++ b/doc/pg_hint_plan.html
@@ -312,29 +312,6 @@ postgres-# JOIN public.t1 pt ON (st.id=pt.id);
312312 -> Seq Scan on t1 pt (cost=0.00..34.00 rows=2400 width=4)
313313 (5 行)
314314
315-<<<<<<< HEAD
316-postgres=#</pre>
317-</p>
318-<h2 id="restrictions">Restrictions</h2>
319-<h3>Limitations on multiple VALUES lists in FROM clauses</h3>
320-<p>All occurences of VALUES lists in FROM clauses in a query has the same name "*VALUES*" irrespective of aliases syntactically given to them or shown in explain descriptions. So it cannot be hinted at all if appeares twice or more in a target query. </p>
321-<h3>Hinting on inheritance children</h3>
322-<p>Inheritnce children cannot be hinted individually. They share the same hints on their parent.</p>
323-
324-<h3>Setting pg_hint_plan parameters by Set hints</h3>
325-<p>pg_hint_plan paramters changes the behavior of itself so some parameters doesn't work as expected.</p>
326-<ul>
327-<li>Hints to change enable_hint, enable_hint_tables are ignored, but they are reported as "used hints" in debug logs.</li>
328-<li>Setting debug_print and message_level works from midst of the processing of the target query.</li>
329-</ul>
330-
331-
332-<h2 id="technics">Technics to hint on desired targets</h2>
333-<h3>Hinting on objecects implicitly used in the target query</h3>
334-<p>Hints are effective on any objects with the target name even if they aren't aparent in the query, specifically objects in views. For that reason, you should create different views in which targetted objects have distinct aliases if you want to hint them differently from the first view.</p>
335-<p>In the following examples, the first query is assigning the same name "t1" on the two occurrences of the table1 so the hint SeqScan(t1) affects both scans. On the other hand the second assignes the different name 't3' on the one of them so the hint affects only on the rest one.</p>
336-<p>This mechanism also applies on rewritten queries by rules.</p>
337-=======
338315 <h3>Underlying tables of views or rules</h3>
339316 <dd>Hints are not applicable on views itself, but they can affect the
340317 queries within if the object names match the object names in the
@@ -369,7 +346,6 @@ so it is hintable if it is the only VALUES in a query. Two or more
369346 VALUES expressions in a query seems distinguishable looking its
370347 explain result. But in reality it is mere a cosmetic and they are not
371348 distinguisable.
372->>>>>>> c6204a7... Added a notice in the manual.
373349 <pre>
374350 postgres=# CREATE VIEW view1 AS SELECT * FROM table1 <span class="strong">t1</span>;
375351 CREATE TABLE
@@ -430,18 +406,12 @@ postgres=# WHERE aid IN (SELECT bid FROM pgbench_accounts a2 LIMIT 10);
430406 <h3>Using IndexOnlyScan hint (PostgreSQL 9.2 and later)</h3>
431407 <p>You shoud explicitly specify an index that can perform index only scan if you put IndexOnlyScan hint on a table that have other indexes that cannot perform index only scan. Or pg_hint_plan may select them. </p>
432408
433-<<<<<<< HEAD
434-<h3>Precaution points for NoIndexScan hint (PostgreSQL 9.2 and later)</h3>
435-<p>NoIndexScan hint involes NoIndexOnlyScan.</p>
436-
437-=======
438409 <h3>Parallel hint and UNION</h3>
439410 <dd>A UNION can run in parallel only when all underlying subqueries
440411 are parallel-safe. Conversely enforcing parallel on any of
441412 the subqueries let a parallel-executable UNION run in
442413 parallel. Meanwhile, a parallel hint with zero workers hinhibits a scan
443414 from executed in parallel.</dd>
444->>>>>>> c6204a7... Added a notice in the manual.
445415
446416 <h2 id="errors">Errors of hints</h2>
447417 <p>pg_hint_plan stops parsing on any error and uses hints already parsed on the most cases. Followings are the typical errors.</p>
@@ -477,9 +447,9 @@ from executed in parallel.</dd>
477447 <h2 id="requirement">Requirements</h2>
478448 <dl>
479449 <dt>PostgreSQL versions tested</dt>
480- <dd>Version 9.1, 9.2, 9.3, 9.4</dd>
450+ <dd>Version 9.5</dd>
481451 <dt>OS versions tested</dt>
482- <dd>RHEL 6.5, 7.0</dd>
452+ <dd>RHEL 7.5</dd>
483453 </dl>
484454
485455 <h2 id="seealso">See also</h2>
@@ -493,19 +463,6 @@ from executed in parallel.</dd>
493463 <a href="pg_hint_plan.html">pg_hint_plan</a>
494464 </div>
495465
496-<p class="footer">Copyright (c) 2012, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
497-
498-<!--
499-<script type="text/javascript">
500-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
501-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
502-</script><script src="pg_statsinfo-ja_files/ga.js" type="text/javascript"></script>
503-<script type="text/javascript">
504-try{
505-var pageTracker = _gat._getTracker("UA-10244036-6");
506-pageTracker._trackPageview();
507-} catch(err) {}
508-</script>
509--->
466+<p class="footer">Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
510467 </body>
511468 </html>
--- a/make_join_rel.c
+++ b/make_join_rel.c
@@ -6,8 +6,8 @@
66 * src/backend/optimizer/path/joinrels.c
77 * make_join_rel()
88 *
9- * Portions Copyright (c) 2013-2018, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
10- * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
9+ * Portions Copyright (c) 2013-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
10+ * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
1111 * Portions Copyright (c) 1994, Regents of the University of California
1212 *
1313 *-------------------------------------------------------------------------
--- a/normalize_query.h
+++ b/normalize_query.h
@@ -6,7 +6,7 @@
66 * This header file is created from pg_stat_statements.c to implement
77 * normalization of query string.
88 *
9- * Portions Copyright (c) 2008-2014, PostgreSQL Global Development Group
9+ * Portions Copyright (c) 2008-2019, PostgreSQL Global Development Group
1010 */
1111 #ifndef NORMALIZE_QUERY_H
1212 #define NORMALIZE_QUERY_H
--- a/pg_hint_plan.c
+++ b/pg_hint_plan.c
@@ -4,7 +4,7 @@
44 * do instructions or hints to the planner using C-style block comments
55 * of the SQL.
66 *
7- * Copyright (c) 2012-2014, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
7+ * Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
88 *
99 *-------------------------------------------------------------------------
1010 */
--- a/pg_stat_statements.c
+++ b/pg_stat_statements.c
@@ -4,7 +4,7 @@
44 *
55 * Part of pg_stat_statements.c in PostgreSQL 9.5.
66 *
7- * Copyright (c) 2008-2015, PostgreSQL Global Development Group
7+ * Copyright (c) 2008-2019, PostgreSQL Global Development Group
88 *
99 *-------------------------------------------------------------------------
1010 */