• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット一覧

firtst release


RSS
Rev. 日時 作者
04011fe PG95 2017-10-10 12:42:13 Kyotaro Horiguchi

Added a notice in the manual.

Added an item that explains about letter case handling of object names
in hints.

cdb7a47 REL95_1_1_5 2017-07-27 19:20:05 Kyotaro Horiguchi

Change version to 1.1.5

1.1.4 has an assertion failure bug raised by DECLARE CURSOR with
enabling table hint. Fixed it.

de44994 2017-07-27 19:19:57 Kyotaro Horiguchi

Fixed a crash bug by DECLARE CURSOR and enable_hint_table = on

The previous version causes assertion failure by DECLARE CURSOR syntax
when table hint is activated. The cause is that the version forgot the
fact that DelcareCursorStmt is in a bit strange shape. Add support of
DECLARE CURSOR and regression test for table hinting.

00256f9 REL95_1_1_4 2017-05-19 13:53:54 Kyotaro Horiguchi

Change version to 1.1.4

1.1.3 has a crash bug raised by queries in specific shape involving
complex views and/or SQL functions.

It is fixed in this version.

82f6021 2017-05-19 10:39:44 Kyotaro Horiguchi

Fix a bug of target query retrieval

The previous patch leaves a bug that get_query_string returns a Query
that JumbleQuery doesn't accept. This fixes that bug.

64ab47b 2017-05-18 19:49:37 Kyotaro Horiguchi

Fix a crash bug on complex views when enable_hint_table is on

The Query that planner receives sometimes irrelevant to
debug_query_string. If enable_hint_table is on, pg_hint_plan_planner
normalizes debug_query_string using query-jumble information created
from the irrelevant Query the can lead to crash. To avoid this
situation, retrieve hints in post_parse_analyze_hook, where
corresponding pairs of a query string and a parsed Query.

471a198 2016-07-19 18:45:25 Kyotaro Horiguchi

Add files needed to do installcheck into tar ball.

sql/maskout.sh and data/data.csv are necessary to perform installcheck
but ignored in making tarball. COPYRIHT* files are also included by
this commit. Although version tags won't be moved since it brings out
no functional changes, the tarballs already released will be replaced
with new one applied this fix later.

Pointed by Tomokuni Fujita and fixed by me.

3c83e20 2016-05-13 15:53:55 Kyotaro Horiguchi

Add RPM spec file forgotten in the previous commit.

8edf1db REL95_1_1_3 2016-01-15 14:12:14 Kyotaro Horiguchi

Support PostgreSQL 9.5.0.

This branch PG95 has been a bit too early so it needs an additional
merge from master branch to complete to support PostgreSQL 9.5.

fce09b4 2016-01-15 12:24:26 Kyotaro Horiguchi

Prepare for 1.1.3/PG95.

The pg_hint_plan version of master branch is left as 1.1.2. This
commit corrects the pg_hint_plan version, and edits RPM building
environment for PostgreSQL 9.5.

9d962d0 2016-01-15 12:13:29 Kyotaro Horiguchi

Edit copyright years.

5ff2794 2016-01-15 12:08:35 Kyotaro Horiguchi

Change for new syntax items in 9.5.

Some syntactical elements are added in 9.5. This change reflects it.

Addition to that, deleted unused parts in pg_stat_statements, which
are previously invalidated with #ifdef directives.

02d20ed 2016-01-15 12:05:13 Kyotaro Horiguchi

Follow a change of error message.

Context message of PL/pgSQL is changed so this commit refrects it to
exted/pg_hint_plan.out.

95b5f89 2016-01-15 11:54:15 Kyotaro Horiguchi

Followed the changes of 9.5.0 release.

There was some changes in 9.5.0 release affect
pg_hint_plan. set_append_rel_pathlist() no longer sets cheapest path
and it became a business of the caller. So rebuild_scan_path() does
so. core.c gets changed from changing lateral join infrastracture
(acfcd45cacb6df23edba4cb3753a2be594238a99) and a change related to custom path(c2ea2285e978d9289084846a3343cef7d261d880).

958c60d 2015-08-18 09:31:54 Kyotaro Horiguchi

Made compatible with 9.5a1

Made make_join_rel.c to catch up REL9_5_ALPHA2. Changed regression
tests following some differences of PostgreSQL's behavior in such like
collapsing of simple VALUES clause, rows estimation and explain
representation of join filter.

0b6cf4b 2015-08-18 09:24:21 Kyotaro Horiguchi

Made compatible with 9.5a1

Make make_join_rel.c to catch up to REL9_5_ALPHA2. Change regtests to
reflect some differences of PostgreSQL's behavior in such like
collapsing of simple VALUES clause, rows estimation and explain
representation of join filter.

d422966 2015-01-05 16:55:23 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.

c42d50f 2014-12-22 11:32:20 Kyotaro Horiguchi

Catch up the changes of pg_stat_statements.c

The change has nothing to do with pg_hint_plan but it's necessary to
catch it up in order to keep the difference minimal for the ease of
maintenance.

273f743 2014-12-19 16:15:56 Kyotaro Horiguchi

Set additional parameter of set_config_option().

9.5dev added new parameter to set_config_option(). This paramter
should be false in set_config_option_wrapper.

9806c94 2014-12-19 16:15:56 Kyotaro Horiguchi

Fix regression test according to the changes of PostgreSQL.

PostgreSQL became to give WARNING for usage of hash indexes. This
change is to follow it.

9551ee4 2014-12-19 16:14:07 Kyotaro Horiguchi

Prepare for 1.1.2

67bade3 2014-12-19 16:14:07 Kyotaro Horiguchi

Remove unnecessary tracker code from documentations.

1756f49 2014-12-19 15:47:21 Kyotaro Horiguchi

Added English documentation.

73f26fe 2014-12-19 15:47:21 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.

2462e13 2014-12-17 11:07:58 Kyotaro Horiguchi

Fix regression test according to the changes of PostgreSQL.

Row countings of EXPLAIN results seems to be changed. This follows the
change.

307cea0 2014-12-17 11:00:29 Kyotaro Horiguchi

Removed a stale comment.

b752a95 2014-12-17 10:52:05 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.

bd30598 2014-12-17 10:26:20 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.

c0a2be8 2014-12-17 10:17:18 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.

e4e2df3 2014-12-17 10:12:22 Kyotaro Horiguchi

Revert "Add new join method hint "NestLoop_NM" which means force nested loop"

This reverts commit 7f6e3ce1326751c36676653ef1e81893296860b6.

旧リポジトリブラウザで表示