• R/O
  • HTTP
  • SSH
  • HTTPS

コミット一覧

よく使われているワード(クリックで追加)

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

firtst release


RSS
Rev. 日時 作者
8c71c47 PG92 REL92_1_1_3 2014-12-22 21:06:37 Kyotaro Horiguchi

Prepare for 1.1.3.

90830fa 2014-12-22 20:51:43 Kyotaro Horiguchi

Fixed a bug related to SQL statements in PL/pgSQL functions.

At least since 9.1, true query strings of SQL statements executed in
PL/pgSQL functions were found that were not obtained correctly by the
previous implement, it is because that PLpgSQL_stmt variable did not
have proper query string to be read for hints. Instead, it is changed
to read them from the top of error_context_stack in
pg_hint_plan_planner(). This change made a slight difference in
behavior which doesn't affect its work so a part of the regtest was
also changed. And added some regression tests for it.

Regression tests for PL/pgSQL added.

Tests for defined PL/pgSQL functions are omitted from regression
tests so added it.

b27943b 2014-12-22 20:51:09 Kyotaro Horiguchi

Fix the method to write query number in debug print.

Query numbers in debug output should be written using qnostr, not qno.

b52b491 REL92_1_1_2 2014-12-19 16:11:21 Kyotaro Horiguchi

Prepare for release 1.1.2.

224510a 2014-12-19 16:11:21 Kyotaro Horiguchi

Remove unnecessary tracker code from documentations.

b9e6db7 2014-12-19 15:55:10 Kyotaro Horiguchi

Added English documentation.

b2d04ea 2014-12-19 15:55:10 Kyotaro Horiguchi

Some fix and addition to the japaneses document.

It lacked the description about joni direction enforcement so added
it. Addition to it, added html language specification and updated
target PostgreSQL versions and OS version.

da636e5 2014-12-17 10:49:22 Kyotaro Horiguchi

Fix to remove plpgsql query string on non-local exit.

Pl/pgsql query string stored internally squatted after an execution
error then pg_hint_plan afterward read it for hints and ignores really
given ones. This commit makes it erased at the end of transaction.

e0c4be9 2014-12-17 10:41:48 Kyotaro Horiguchi

Fix about unexpectedly living plpgsql query string.

pg_hint_plan forgot to erase plpgsql query strings when it is NOT a
static statement, so it continued to read hints from the remenbered
wrong query string after using dynamic execution of a statement. This
commit makes it to be erased for any types of pl/pgsql statement.

0a400e6 2014-12-16 16:58:38 Kyotaro Horiguchi

Enhance debug output.

Added new debug output levels detailed and verbose. These let you see
more verbose information about what pg_hint_plan does internally.

a284f79 REL92_1_1_1 2014-09-18 11:58:11 Kyotaro Horiguchi

Fix a bug that index restriction by name doesn't work for UPDATEs on
inheritance parent.

Inheritance planner doesn't claim for the inheritance parent relation,
so pg_hint_plan_get_relation_info cannot have the chance to prepare
the index spec information for chlid relations. This change make the
function to try to find parent relation even if it is called for the
children with inhparent == false from the first.

d84beeb 2014-09-17 15:26:57 Kyotaro Horiguchi

Stabilize regtest

7dbca52 2014-09-17 11:49:38 Kyotaro Horiguchi

Remove unused struct member

a1fd9fb 2014-09-05 13:22:09 Kyotaro Horiguchi

RPM automation

3ef56b7 2014-09-05 13:21:52 Kyotaro Horiguchi

Change version to 1.1.1.

7cd601e 2014-09-05 13:20:04 Kyotaro Horiguchi

Fixed a bug that rows hint can be omitted on some condition.

A hint for higer level may be canceled by unnecessary reestimation
caused by a rows hint for lower level.

During making a joinrel, if there's a rows hint just matches the
joinrelids, and has already been applied on an earlier try for the same
joinrelids, and if there's another rows hint which is applicable on
either component of the join, the change of rownums made earlier is
canceled by the 'another' hint causing reestimation of the joinrel.
Finally the effect of the former hint disappears.

ce19272 2014-01-30 15:42:06 Takashi Suzuki

出力メッセージ変更後の状態にリグレッションテストの予測結果を変更した。

5e5bbe2 2014-01-24 11:21:46 Takashi Suzuki

マニュアルにRowsヒント句の仕様の一部と具体例を挿入した。

記入内容
・Rowsヒント句の補正の件数や倍率をstrtodで補正していること。
理由
・16進数でも指定可能なため。

33c8421 2014-01-24 11:18:54 Takashi Suzuki

hint_reportの出力メッセージを大文字始まりで統一した。

356c4f7 2014-01-21 11:43:05 Takashi Suzuki

コメントやメッセージを修正した。

6225c96 2014-01-20 16:14:18 Takashi Suzuki

COPYRIGHTを2014年に更新した

7342e27 2014-01-20 16:10:51 Takashi Suzuki

pg_stat_statementsから流用している関数を更新した。

2c3793d 2014-01-20 13:31:29 Takashi Suzuki

既存の流用関数の更新に伴い、流用関数を追加した。

流用関数を更新した結果、新しいstatistic関数を使用していたため。

b051e3c 2014-01-20 11:09:56 Takashi Suzuki

core.c内の関数をPG9.2最新版のものに更新した。

2ca7f98 2014-01-17 17:20:56 Takashi Suzuki

Rowsヒント句の出力メッセージに関する変更結果を試験に反映した。

d2ef83e 2014-01-17 17:16:36 Takashi Suzuki

Rows試験の予測結果の実行計画をPG92における正しい形に修正した。

04dfdb1 2014-01-17 17:12:28 Takashi Suzuki

PG93との仕様の違いを予想結果に反映した。

PG93の以下のような機能がPG92の試験結果との差になった。
・同名リレーションに対するエイリアス自動付与
・スキーマ修飾の省略
・継承テーブルの親テーブル名表示
・テーブル作成時のインデックス生成メッセージの省略

a7c3fa5 2014-01-17 16:57:06 Takashi Suzuki

bug fix #3

59a7733 2014-01-17 16:56:40 Takashi Suzuki

bug fix #2

件数補正のときに、全ての結合パスにおいて部分集合となってしまい、他
のRowsヒント句適用後に見積もり件数を再計算してしまった。。

理由
Rowsヒント句に存在しないテーブル組合せを指定すると、pg_hint_plan
内部で空のテーブル集合として扱っていたため。

636ab52 2014-01-17 16:53:07 Takashi Suzuki

PG93用で実施した試験をPG92用に追加した。

ただし、以下の理由により不合格
・予測結果をPG92向けに修正していない。
・PG93用試験中に生じたバグの修正をPG92向けでは未実施