• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: List of commits

firtst release


RSS
Rev. Time Author
92b3545 PG95 REL95_1_1_8 2019-01-17 16:41:33 Kyotaro Horiguchi

Change version to 1.1.8

Version bumped to 1.1.8. SPEC file is updated.

dbbc864 2019-01-17 16:41:33 Kyotaro Horiguchi

Fix reverse link of hint_list.html

pg_hint_plan.html and hint_list.html pointed to the Japanese version
of main document. Fixed it.

4b0dd9c 2019-01-17 15:22:39 Kyotaro Horiguchi

Fix documentation

Fix wrong or stale descriptions in documentation and fix style.

8754e19 2019-01-17 14:16:50 Kyotaro Horiguchi

Do make install for rpmbuild

Use make install to build in prmbuild directory instaed of using
install command to individual file to reduce maintenance labor.

6a19ed7 2019-01-17 14:16:50 Kyotaro Horiguchi

Include all pg_hint_plan--*.sql files in installation

Glob installation/upgrade SQL scripts instead of spcifying
individually to reduce maintenance labor.

c9e7416 2019-01-17 14:16:50 Kyotaro Horiguchi

Change copyright year to 2019

With some minor fixes in the document.

29972b1 2019-01-09 09:56:21 Kyotaro Horiguchi

Call standrad_ProcessUtility when no hook is set

The last commit 6973627 forgot the case of no previous hook function
in the ProcessUtility hook function. Fix it.

6973627 2019-01-07 19:07:39 Kyotaro Horiguchi

Support prepared statements on extended protocol

However pg_hint_plan doesn't fully consider the extended protocol,
commit 64ab47b accidentially broke the case where an analyzed prepared
statement is executed on extended protocol. This patch fixes that only
for the hints-in-comment case. Hint-table still doesn't work in the
case since query-normalization needs Query, which is not available in
planner_hook.

f1f3627 2019-01-07 19:07:39 Kyotaro Horiguchi

Remove an useless variable

commit 64ab47b made the variable stmt_name useless. Remove it.

37f3c8c 2018-12-05 17:32:29 Kyotaro Horiguchi

Fix for union-on-inheritance case

setup_hint_enforcement may pick up a wrong hint when multiple
subqueries access inheritance tables. This leads to failure to apply
hints on other than the first subquery.

72333a3 2018-12-05 17:32:21 Kyotaro Horiguchi

Don't reset plpgsql nest level at every command end

Clean up code for global exit is forgetting about loops that run
hinted commands multiple times. This leads to pg_hint_plan's failure
to affect after the first execution of the inner commands.
The hint below worked only for the first time.

FOR outer IN EXECUTE 'outer-command' LOOP
FOR inner IN EXECUTE '/*+ hint */ inner-command' LOOP
<something>
END LOOP;
END LOOP;

9e354ac REL95_1_1_7 2018-11-13 16:54:21 Kyotaro Horiguchi

Changed version to 1.1.7

Previously parse_messages and message_level were binded to the same
internal variable. Separate the two GUCs. On the way doing this some
mssages that did not honor the variable were fixed. Default behavior
is not changed but the the two variables works differently from the
previous version, perhaps closer to expected.

2ac79df 2018-11-13 16:54:21 Kyotaro Horiguchi

Fix debug output level control

Previously parse_messages and message_level were binded to the same
internal variable. Separate the two GUCs. On the way doing this some
mssages that did not honor the variable were fixed. Default behavior
is not changed but the the two variables works differently from the
previous version, perhaps closer to expected.

fd64e6b REL95_1_1_6 2018-06-08 14:12:56 Kyotaro Horiguchi

Change version to 1.1.6.

1.1.5 has a crash bug in Describe message of extended protocol
path. If server receives the message after invalidation of
corresponding query cache, pg_hint_plan crashes.

On the way fixing it, this version took in the following commit of
core.

80e12a6218 Change more places to be less trusting of RestrictInfo.is_pushed_down.

066f064 2018-06-08 14:12:56 Kyotaro Horiguchi

Took in core improvement.

Took in the following commit of core.

80e12a6218 Change more places to be less trusting of RestrictInfo.is_pushed_down.

Fixed typos and removed useless include on the way.

5c6296e 2018-06-08 10:02:10 Kyotaro Horiguchi

Fix a crash bug in case debug_query_string is NULL

pg_hint_plan believed that debug_query_string cannot be null when
parse_analyze is called, but for example in the case under
exec_describe_statement_message, it is not. We see the query string in
pstate even in the case, so use it instead in the case. Since pstate
is storing the query of the lowermost level, we should use
debug_query_string in other cases.

6ea8db1 2017-11-06 15:10:46 Kyotaro Horiguchi

Added and removed some entries in .gitignore

Removed core.c, that is not appropriate.
Added .deps and RPMS.

9d13568 2017-11-06 14:01:27 Kyotaro Horiguchi

Use pg_strcasecmp instead of strcasecmp for the sake of portability

04011fe 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.

Show on old repository browser