• R/O
  • HTTP
  • SSH

pg_hint_plan: コミット一覧

firtst release

Rev. 日時 作者
6f23970 PG11 2018-12-05 17:31:40 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.

d1879e0 2018-12-05 17:31:35 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

d5d6719 2018-11-13 18:02:35 Kyotaro Horiguchi

Minor document fix

Just fix versions of PostgreSQL and OS.

6f4b798 REL11_1_3_2 2018-11-13 16:01:35 Kyotaro Horiguchi

Change target version to PG11 and fix the SPEC file

Change targetr version to PG11. SPEC file was changed so that genearte
a subpackage llvmjit, which installs a bitcode file needed for JIT

fe647d2 2018-11-13 16:00:34 Kyotaro Horiguchi

Fix copyright year

e220378 2018-11-13 16:00:34 Kyotaro Horiguchi

Fix regression test following core's behavior

Some changes has been made on GUC default value and behavior. Follow
the change. No change was made on pg_hint_plan's behavior.

c94c75f 2018-11-13 16:00:34 Kyotaro Horiguchi

Update core.c and make_jion_rel.c following core

Apply changes ever made on core.

09de6d2 2018-11-13 15:59:57 Kyotaro Horiguchi

Change version to 1.3.2.

f222c03 2018-11-13 15:55:02 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.

18fd79f 2018-11-13 15:55:02 Kyotaro Horiguchi

Fix bogus error handling

For somewhat reason set_config_int32_options does bogus error
handling. Howerver that error cannot be happen, fixed it.

0a3456e 2018-11-13 15:54:20 Kyotaro Horiguchi

Change version to 1.3.1.

1.3.0 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.

763f6f0 2018-11-13 15:37:51 Kyotaro Horiguchi

Took in several improvements of pg_stat_statements

Following two commits are took in.

83f2061dd0 Teach contrib/pg_stat_statements to handle multi-statement commands better.
0bb51aa967 Improve parsetree representation of special functions such as CURRENT_DATE.

The following one makes change of documented behavior of pg_hint_plan
so it is not took in.

a6f22e8356 Show ignored constants as "$N" rather than "?" in pg_stat_statements.

5f581e4 2018-06-14 19:15:14 Kyotaro Horiguchi

Support PG11

Support PG11. Just adapted to PG11 in this version. No behavior
changes except Parallel hint. PG11 gets many new parallel features and
as a matter of course they made deadly impact on Parallel hint. It no
longer works in the same way with the earlier version except for quite
simple cases.

816040d 2018-06-08 10:07:44 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.

997e099 2017-11-06 15:59:29 Kyotaro Horiguchi

Move expected/ut-W.out to output/ut-W.source

ut-W.out contained an absolute path of my working directory. Moved the
file into output so that we can remove the path replacing with

44ee440 2017-11-06 15:58:09 Arthur Zakirov

Use @abs_srcdir@ within ut-fdw.source

The file contained absolute path of a specific working directory,
replace them with @abs_srcdir@.

1eb726c 2017-11-06 15:57:17 Kyotaro Horiguchi

Added and removed some entries in .gitignore

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

9adb78e 2017-11-06 15:57:17 Kyotaro Horiguchi

Remove mark_dummy_rel() from core.c

The function is exposed by the commit
f49842d1ee31b976c681322f76025d7732e860f3 so remove it from the file.

4746ddb 2017-11-06 14:08:18 Arthur Zakirov

Use pg_strcasecmp instead of strcasecmp for the sake of portability

Back patched to branches PG93-96 and PG10.

26199a5 2017-10-10 12:19:17 Kyotaro Horiguchi

Change version to 1.3.0

c6204a7 2017-10-10 12:19:17 Kyotaro Horiguchi

Added a notice in the manual.

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

6609a8a 2017-10-10 11:37:39 Kyotaro Horiguchi

Prepare for rpm build for PostgreSQL 10

Edited Makefile and SPEC file so that RPM package for PostgreSQL 10 is

be384a4 2017-10-10 11:20:13 Kyotaro Horiguchi

Added a regtest for partitioned table.

Added a minimal regression test that checks this works also on
partitioned tables. Currently partitioned tables are handled in almost
the same way with inheritance tables so this would be enough.

0902b04 2017-10-10 10:34:19 Kyotaro Horiguchi

Corrected copyright year and a indentation.

Edited a copyright notice in which year is left alone. Correct an
indentation in make_join_rel.c. No functional change.

cce8d90 2017-10-10 10:33:00 Kyotaro Horiguchi

Reflected changes as of release 10.0.

add_paths_to_append_rel gets modified as of relase 10.0. Reflected it
to core.c

dd2685c 2017-10-04 09:46:43 Kyotaro Horiguchi

Add a regression about forcing gather-merge.

The previous commit is said to allow enforce gather merge but no
regression for that is not included. This adds that.

c7888a1 2017-07-27 19:13:30 Kyotaro Horiguchi

Modify expected files.

At 10 beta2, planner seems to get some changes to affect plans used in
regression test. Tentatively modify it just to pass the regression.
Probably it is no problem but should be checked later.

b4c7cdf 2017-07-27 19:13:22 Kyotaro Horiguchi

Up to date with 10 beta 2

Make copied code to be up to date with the core as of 10 beta 2.

2a9e14e 2017-07-27 19:13:11 Kyotaro Horiguchi

Support DECLARE CURSOR syntax and added regression for table hinting.

Previous version forgets to treat DECLARE CURSOR. Added that.
Addition to that, regression test for table hinting is added.

f4e8b55 2017-06-06 20:07:39 Kyotaro Horiguchi

Support PostgreSQL 10 beta 1 step 2/2

Changed the logic to tweak parallel execution paths so that it handles
more wider (parallel index scans or gather merge, specifically) range
of parallel paths.