firtst release
リビジョン | 4ffa97e5d239467ee6d0a94d32355e984cfd77a2 (tree) |
---|---|
日時 | 2020-10-29 21:03:05 |
作者 | Kyotaro Horiguchi <horikyoga.ntt@gmai...> |
コミッター | Kyotaro Horiguchi |
Change version to 1.3.7.
@@ -5,7 +5,7 @@ | ||
5 | 5 | # |
6 | 6 | |
7 | 7 | MODULES = pg_hint_plan |
8 | -HINTPLANVER = 1.3.6 | |
8 | +HINTPLANVER = 1.3.7 | |
9 | 9 | |
10 | 10 | REGRESS = init base_plan pg_hint_plan ut-init ut-A ut-S ut-J ut-L ut-G ut-R ut-fdw ut-W ut-T ut-fini |
11 | 11 |
@@ -22,8 +22,8 @@ PG_CONFIG = pg_config | ||
22 | 22 | PGXS := $(shell $(PG_CONFIG) --pgxs) |
23 | 23 | include $(PGXS) |
24 | 24 | |
25 | -STARBALL12 = pg_hint_plan12-$(HINTPLANVER).tar.gz | |
26 | -STARBALLS = $(STARBALL12) | |
25 | +STARBALL13 = pg_hint_plan13-$(HINTPLANVER).tar.gz | |
26 | +STARBALLS = $(STARBALL13) | |
27 | 27 | |
28 | 28 | TARSOURCES = Makefile *.c *.h COPYRIGHT* \ |
29 | 29 | pg_hint_plan--*.sql \ |
@@ -37,7 +37,7 @@ endif | ||
37 | 37 | |
38 | 38 | installcheck: $(REGRESSION_EXPECTED) |
39 | 39 | |
40 | -rpms: rpm12 | |
40 | +rpms: rpm13 | |
41 | 41 | |
42 | 42 | # pg_hint_plan.c includes core.c and make_join_rel.c |
43 | 43 | pg_hint_plan.o: core.c make_join_rel.c # pg_stat_statements.c |
@@ -52,7 +52,5 @@ $(STARBALLS): $(TARSOURCES) | ||
52 | 52 | tar -chzf $@ $(addprefix $(subst .tar.gz,,$@)/, $^) |
53 | 53 | rm $(subst .tar.gz,,$@) |
54 | 54 | |
55 | -rpm12: $(STARBALL12) | |
56 | - MAKE_ROOT=`pwd` rpmbuild -bb SPECS/pg_hint_plan12.spec | |
57 | - | |
58 | - | |
55 | +rpm13: $(STARBALL13) | |
56 | + MAKE_ROOT=`pwd` rpmbuild -bb SPECS/pg_hint_plan13.spec |
@@ -1,7 +1,7 @@ | ||
1 | 1 | # SPEC file for pg_store_plans |
2 | 2 | # Copyright(C) 2020 NIPPON TELEGRAPH AND TELEPHONE CORPORATION |
3 | 3 | |
4 | -%define _pgdir /usr/pgsql-12 | |
4 | +%define _pgdir /usr/pgsql-13 | |
5 | 5 | %define _bindir %{_pgdir}/bin |
6 | 6 | %define _libdir %{_pgdir}/lib |
7 | 7 | %define _datadir %{_pgdir}/share |
@@ -15,8 +15,8 @@ | ||
15 | 15 | |
16 | 16 | ## Set general information for pg_store_plans. |
17 | 17 | Summary: Optimizer hint on PostgreSQL 12 |
18 | -Name: pg_hint_plan12 | |
19 | -Version: 1.3.6 | |
18 | +Name: pg_hint_plan13 | |
19 | +Version: 1.3.7 | |
20 | 20 | Release: 1%{?dist} |
21 | 21 | License: BSD |
22 | 22 | Group: Applications/Databases |
@@ -26,8 +26,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n) | ||
26 | 26 | Vendor: NIPPON TELEGRAPH AND TELEPHONE CORPORATION |
27 | 27 | |
28 | 28 | ## We use postgresql-devel package |
29 | -BuildRequires: postgresql12-devel | |
30 | -Requires: postgresql12-server | |
29 | +BuildRequires: postgresql13-devel | |
30 | +Requires: postgresql13-server | |
31 | 31 | |
32 | 32 | ## Description for "pg_hint_plan" |
33 | 33 | %description |
@@ -35,19 +35,19 @@ Requires: postgresql12-server | ||
35 | 35 | pg_hint_plan provides capability to tweak execution plans to be |
36 | 36 | executed on PostgreSQL. |
37 | 37 | |
38 | -Note that this package is available for only PostgreSQL 12. | |
38 | +Note that this package is available for only PostgreSQL 13. | |
39 | 39 | |
40 | 40 | %package llvmjit |
41 | -Requires: postgresql12-server, postgresql12-llvmjit | |
42 | -Requires: pg_hint_plan12 = 1.3.6 | |
43 | -Summary: Just-in-time compilation support for pg_hint_plan12 | |
41 | +Requires: postgresql13-server, postgresql13-llvmjit | |
42 | +Requires: pg_hint_plan13 = 1.3.7 | |
43 | +Summary: Just-in-time compilation support for pg_hint_plan13 | |
44 | 44 | |
45 | 45 | %description llvmjit |
46 | -Just-in-time compilation support for pg_hint_plan12 | |
46 | +Just-in-time compilation support for pg_hint_plan13 | |
47 | 47 | |
48 | 48 | ## pre work for build pg_hint_plan |
49 | 49 | %prep |
50 | -PATH=/usr/pgsql-12/bin:$PATH | |
50 | +PATH=/usr/pgsql-13/bin:$PATH | |
51 | 51 | if [ "${MAKE_ROOT}" != "" ]; then |
52 | 52 | pushd ${MAKE_ROOT} |
53 | 53 | make clean %{name}-%{version}.tar.gz |
@@ -58,7 +58,7 @@ if [ ! -d %{_rpmdir} ]; then mkdir -p %{_rpmdir}; fi | ||
58 | 58 | |
59 | 59 | ## Set variables for build environment |
60 | 60 | %build |
61 | -PATH=/usr/pgsql-12/bin:$PATH | |
61 | +PATH=/usr/pgsql-13/bin:$PATH | |
62 | 62 | make USE_PGXS=1 %{?_smp_mflags} |
63 | 63 | |
64 | 64 | ## Set variables for install |
@@ -73,7 +73,7 @@ rm -rf %{buildroot} | ||
73 | 73 | %defattr(0755,root,root) |
74 | 74 | %{_libdir}/pg_hint_plan.so |
75 | 75 | %defattr(0644,root,root) |
76 | -%{_datadir}/extension/pg_hint_plan--1.3.6.sql | |
76 | +%{_datadir}/extension/pg_hint_plan--1.3.7.sql | |
77 | 77 | %{_datadir}/extension/pg_hint_plan.control |
78 | 78 | |
79 | 79 | %files llvmjit |
@@ -85,19 +85,5 @@ rm -rf %{buildroot} | ||
85 | 85 | |
86 | 86 | # History of pg_hint_plan. |
87 | 87 | %changelog |
88 | -* Wed Aug 5 2020 Kyotaro Horiguchi | |
89 | -- Fix some bugs. Version 1.3.6. | |
90 | -* Thu Feb 20 2020 Kyotaro Horiguchi | |
91 | -- Support PostgreSQL 12. Fix some bugs. Version 1.3.5. | |
92 | -* Thu Jan 17 2019 Kyotaro Horiguchi | |
93 | -- Fix some bugs. Version 1.3.4. | |
94 | -* Tue Nov 13 2018 Kyotaro Horiguchi | |
95 | -- Support PostgreSQL 11. Version 1.3.2. | |
96 | -* Fri Jun 08 2018 Kyotaro Horiguchi | |
97 | -- Fixed a crash bug. Version 1.3.1. | |
98 | -* Tue Oct 10 2017 Kyotaro Horiguchi | |
99 | -- Support PostgreSQL 10. Version 1.3.0. | |
100 | -* Tue Feb 7 2017 Kyotaro Horiguchi | |
101 | -- Added new hint Parallel. Version 1.2.0. | |
102 | -* Thu Jul 21 2016 Kyotaro Horiguchi | |
103 | -- Support PostgreSQL 9.6 | |
88 | +* Thu Oct 29 2020 Kyotaro Horiguchi | |
89 | +- First release of pg_hint_plan13. |
@@ -675,12 +675,12 @@ postgres=# | ||
675 | 675 | </dl> |
676 | 676 | |
677 | 677 | <h2 id="requirement">動作環境</h2> |
678 | -pg_hint_plan11 1.3 は PostgreSQL 11 のみをサポートします。 | |
678 | +pg_hint_plan13 1.3 は PostgreSQL 13 のみをサポートします。 | |
679 | 679 | <dl> |
680 | 680 | <dt>PostgreSQL</dt> |
681 | - <dd>バージョン 11</dd> | |
681 | + <dd>バージョン 13</dd> | |
682 | 682 | <dt>動作確認済みOS</dt> |
683 | - <dd>CentOS 7.5</dd> | |
683 | + <dd>CentOS 8.2</dd> | |
684 | 684 | </dl> |
685 | 685 | |
686 | 686 | <h2 id="seealso">関連項目</h2> |
@@ -483,12 +483,12 @@ from executed in parallel.</dd> | ||
483 | 483 | <dd>pg_stat_statements generates a query id ignoring comments. As the result the identical queires with different hints are summerized as the same query.</dd> |
484 | 484 | |
485 | 485 | <h2 id="requirement">Requirements</h2> |
486 | -pg_hint_plan11 1.3 requires PostgreSQL 11. | |
486 | +pg_hint_plan13 1.3 requires PostgreSQL 13. | |
487 | 487 | <dl> |
488 | 488 | <dt>PostgreSQL versions tested</dt> |
489 | - <dd>Version 11</dd> | |
489 | + <dd>Version 13</dd> | |
490 | 490 | <dt>OS versions tested</dt> |
491 | - <dd>CentOS 7.5</dd> | |
491 | + <dd>CentOS 8.2</dd> | |
492 | 492 | </dl> |
493 | 493 | |
494 | 494 | <h2 id="seealso">See also</h2> |
@@ -1,4 +1,4 @@ | ||
1 | -/* pg_hint_plan/pg_hint_plan--1.3.6.sql */ | |
1 | +/* pg_hint_plan/pg_hint_plan--1.3.7.sql */ | |
2 | 2 | |
3 | 3 | -- complain if script is sourced in psql, rather than via CREATE EXTENSION |
4 | 4 | \echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit |
@@ -1,6 +1,6 @@ | ||
1 | 1 | # pg_hint_plan extension |
2 | 2 | |
3 | 3 | comment = '' |
4 | -default_version = '1.3.6' | |
4 | +default_version = '1.3.7' | |
5 | 5 | relocatable = false |
6 | 6 | schema = hint_plan |