• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revision4ffa97e5d239467ee6d0a94d32355e984cfd77a2 (tree)
Time2020-10-29 21:03:05
AuthorKyotaro Horiguchi <horikyoga.ntt@gmai...>
CommiterKyotaro Horiguchi

Log Message

Change version to 1.3.7.

Change Summary

Incremental Difference

--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
55 #
66
77 MODULES = pg_hint_plan
8-HINTPLANVER = 1.3.6
8+HINTPLANVER = 1.3.7
99
1010 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
1111
@@ -22,8 +22,8 @@ PG_CONFIG = pg_config
2222 PGXS := $(shell $(PG_CONFIG) --pgxs)
2323 include $(PGXS)
2424
25-STARBALL12 = pg_hint_plan12-$(HINTPLANVER).tar.gz
26-STARBALLS = $(STARBALL12)
25+STARBALL13 = pg_hint_plan13-$(HINTPLANVER).tar.gz
26+STARBALLS = $(STARBALL13)
2727
2828 TARSOURCES = Makefile *.c *.h COPYRIGHT* \
2929 pg_hint_plan--*.sql \
@@ -37,7 +37,7 @@ endif
3737
3838 installcheck: $(REGRESSION_EXPECTED)
3939
40-rpms: rpm12
40+rpms: rpm13
4141
4242 # pg_hint_plan.c includes core.c and make_join_rel.c
4343 pg_hint_plan.o: core.c make_join_rel.c # pg_stat_statements.c
@@ -52,7 +52,5 @@ $(STARBALLS): $(TARSOURCES)
5252 tar -chzf $@ $(addprefix $(subst .tar.gz,,$@)/, $^)
5353 rm $(subst .tar.gz,,$@)
5454
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
--- a/SPECS/pg_hint_plan12.spec
+++ b/SPECS/pg_hint_plan13.spec
@@ -1,7 +1,7 @@
11 # SPEC file for pg_store_plans
22 # Copyright(C) 2020 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
33
4-%define _pgdir /usr/pgsql-12
4+%define _pgdir /usr/pgsql-13
55 %define _bindir %{_pgdir}/bin
66 %define _libdir %{_pgdir}/lib
77 %define _datadir %{_pgdir}/share
@@ -15,8 +15,8 @@
1515
1616 ## Set general information for pg_store_plans.
1717 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
2020 Release: 1%{?dist}
2121 License: BSD
2222 Group: Applications/Databases
@@ -26,8 +26,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
2626 Vendor: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
2727
2828 ## We use postgresql-devel package
29-BuildRequires: postgresql12-devel
30-Requires: postgresql12-server
29+BuildRequires: postgresql13-devel
30+Requires: postgresql13-server
3131
3232 ## Description for "pg_hint_plan"
3333 %description
@@ -35,19 +35,19 @@ Requires: postgresql12-server
3535 pg_hint_plan provides capability to tweak execution plans to be
3636 executed on PostgreSQL.
3737
38-Note that this package is available for only PostgreSQL 12.
38+Note that this package is available for only PostgreSQL 13.
3939
4040 %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
4444
4545 %description llvmjit
46-Just-in-time compilation support for pg_hint_plan12
46+Just-in-time compilation support for pg_hint_plan13
4747
4848 ## pre work for build pg_hint_plan
4949 %prep
50-PATH=/usr/pgsql-12/bin:$PATH
50+PATH=/usr/pgsql-13/bin:$PATH
5151 if [ "${MAKE_ROOT}" != "" ]; then
5252 pushd ${MAKE_ROOT}
5353 make clean %{name}-%{version}.tar.gz
@@ -58,7 +58,7 @@ if [ ! -d %{_rpmdir} ]; then mkdir -p %{_rpmdir}; fi
5858
5959 ## Set variables for build environment
6060 %build
61-PATH=/usr/pgsql-12/bin:$PATH
61+PATH=/usr/pgsql-13/bin:$PATH
6262 make USE_PGXS=1 %{?_smp_mflags}
6363
6464 ## Set variables for install
@@ -73,7 +73,7 @@ rm -rf %{buildroot}
7373 %defattr(0755,root,root)
7474 %{_libdir}/pg_hint_plan.so
7575 %defattr(0644,root,root)
76-%{_datadir}/extension/pg_hint_plan--1.3.6.sql
76+%{_datadir}/extension/pg_hint_plan--1.3.7.sql
7777 %{_datadir}/extension/pg_hint_plan.control
7878
7979 %files llvmjit
@@ -85,19 +85,5 @@ rm -rf %{buildroot}
8585
8686 # History of pg_hint_plan.
8787 %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.
--- a/doc/pg_hint_plan-ja.html
+++ b/doc/pg_hint_plan-ja.html
@@ -675,12 +675,12 @@ postgres=#
675675 </dl>
676676
677677 <h2 id="requirement">動作環境</h2>
678-pg_hint_plan11 1.3 は PostgreSQL 11 のみをサポートします。
678+pg_hint_plan13 1.3 は PostgreSQL 13 のみをサポートします。
679679 <dl>
680680 <dt>PostgreSQL</dt>
681- <dd>バージョン 11</dd>
681+ <dd>バージョン 13</dd>
682682 <dt>動作確認済みOS</dt>
683- <dd>CentOS 7.5</dd>
683+ <dd>CentOS 8.2</dd>
684684 </dl>
685685
686686 <h2 id="seealso">関連項目</h2>
--- a/doc/pg_hint_plan.html
+++ b/doc/pg_hint_plan.html
@@ -483,12 +483,12 @@ from executed in parallel.</dd>
483483 <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>
484484
485485 <h2 id="requirement">Requirements</h2>
486-pg_hint_plan11 1.3 requires PostgreSQL 11.
486+pg_hint_plan13 1.3 requires PostgreSQL 13.
487487 <dl>
488488 <dt>PostgreSQL versions tested</dt>
489- <dd>Version 11</dd>
489+ <dd>Version 13</dd>
490490 <dt>OS versions tested</dt>
491- <dd>CentOS 7.5</dd>
491+ <dd>CentOS 8.2</dd>
492492 </dl>
493493
494494 <h2 id="seealso">See also</h2>
--- a/pg_hint_plan--1.3.6.sql
+++ b/pg_hint_plan--1.3.7.sql
@@ -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 */
22
33 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
44 \echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit
--- a/pg_hint_plan.control
+++ b/pg_hint_plan.control
@@ -1,6 +1,6 @@
11 # pg_hint_plan extension
22
33 comment = ''
4-default_version = '1.3.6'
4+default_version = '1.3.7'
55 relocatable = false
66 schema = hint_plan
Show on old repository browser