OSDN Git Service

Change version to 1.3.7. REL13_1_3_7
authorKyotaro Horiguchi <horikyoga.ntt@gmail.com>
Wed, 28 Oct 2020 13:56:39 +0000 (22:56 +0900)
committerKyotaro Horiguchi <horikyoga.ntt@gmail.com>
Thu, 29 Oct 2020 12:03:05 +0000 (21:03 +0900)
Makefile
SPECS/pg_hint_plan13.spec [moved from SPECS/pg_hint_plan12.spec with 60% similarity]
doc/pg_hint_plan-ja.html
doc/pg_hint_plan.html
pg_hint_plan--1.3.7.sql [moved from pg_hint_plan--1.3.6.sql with 93% similarity]
pg_hint_plan.control

index 4decef8..027773d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 #
 
 MODULES = pg_hint_plan
-HINTPLANVER = 1.3.6
+HINTPLANVER = 1.3.7
 
 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
 
@@ -22,8 +22,8 @@ PG_CONFIG = pg_config
 PGXS := $(shell $(PG_CONFIG) --pgxs)
 include $(PGXS)
 
-STARBALL12 = pg_hint_plan12-$(HINTPLANVER).tar.gz
-STARBALLS = $(STARBALL12)
+STARBALL13 = pg_hint_plan13-$(HINTPLANVER).tar.gz
+STARBALLS = $(STARBALL13)
 
 TARSOURCES = Makefile *.c  *.h COPYRIGHT* \
        pg_hint_plan--*.sql \
@@ -37,7 +37,7 @@ endif
 
 installcheck: $(REGRESSION_EXPECTED)
 
-rpms: rpm12
+rpms: rpm13
 
 # pg_hint_plan.c includes core.c and make_join_rel.c
 pg_hint_plan.o: core.c make_join_rel.c # pg_stat_statements.c
@@ -52,7 +52,5 @@ $(STARBALLS): $(TARSOURCES)
        tar -chzf $@ $(addprefix $(subst .tar.gz,,$@)/, $^)
        rm $(subst .tar.gz,,$@)
 
-rpm12: $(STARBALL12)
-       MAKE_ROOT=`pwd` rpmbuild -bb SPECS/pg_hint_plan12.spec
-
-
+rpm13: $(STARBALL13)
+       MAKE_ROOT=`pwd` rpmbuild -bb SPECS/pg_hint_plan13.spec
similarity index 60%
rename from SPECS/pg_hint_plan12.spec
rename to SPECS/pg_hint_plan13.spec
index 4b4b73e..ee01413 100644 (file)
@@ -1,7 +1,7 @@
 # SPEC file for pg_store_plans
 # Copyright(C) 2020 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
 
-%define _pgdir   /usr/pgsql-12
+%define _pgdir   /usr/pgsql-13
 %define _bindir  %{_pgdir}/bin
 %define _libdir  %{_pgdir}/lib
 %define _datadir %{_pgdir}/share
@@ -15,8 +15,8 @@
 
 ## Set general information for pg_store_plans.
 Summary:    Optimizer hint on PostgreSQL 12
-Name:       pg_hint_plan12
-Version:    1.3.6
+Name:       pg_hint_plan13
+Version:    1.3.7
 Release:    1%{?dist}
 License:    BSD
 Group:      Applications/Databases
@@ -26,8 +26,8 @@ BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
 Vendor:     NIPPON TELEGRAPH AND TELEPHONE CORPORATION
 
 ## We use postgresql-devel package
-BuildRequires:  postgresql12-devel
-Requires:  postgresql12-server
+BuildRequires:  postgresql13-devel
+Requires:  postgresql13-server
 
 ## Description for "pg_hint_plan"
 %description
@@ -35,19 +35,19 @@ Requires:  postgresql12-server
 pg_hint_plan provides capability to tweak execution plans to be
 executed on PostgreSQL.
 
-Note that this package is available for only PostgreSQL 12.
+Note that this package is available for only PostgreSQL 13.
 
 %package llvmjit
-Requires: postgresql12-server, postgresql12-llvmjit
-Requires: pg_hint_plan12 = 1.3.6
-Summary:  Just-in-time compilation support for pg_hint_plan12
+Requires: postgresql13-server, postgresql13-llvmjit
+Requires: pg_hint_plan13 = 1.3.7
+Summary:  Just-in-time compilation support for pg_hint_plan13
 
 %description llvmjit
-Just-in-time compilation support for pg_hint_plan12
+Just-in-time compilation support for pg_hint_plan13
 
 ## pre work for build pg_hint_plan
 %prep
-PATH=/usr/pgsql-12/bin:$PATH
+PATH=/usr/pgsql-13/bin:$PATH
 if [ "${MAKE_ROOT}" != "" ]; then
   pushd ${MAKE_ROOT}
   make clean %{name}-%{version}.tar.gz
@@ -58,7 +58,7 @@ if [ ! -d %{_rpmdir} ]; then mkdir -p %{_rpmdir}; fi
 
 ## Set variables for build environment
 %build
-PATH=/usr/pgsql-12/bin:$PATH
+PATH=/usr/pgsql-13/bin:$PATH
 make USE_PGXS=1 %{?_smp_mflags}
 
 ## Set variables for install
@@ -73,7 +73,7 @@ rm -rf %{buildroot}
 %defattr(0755,root,root)
 %{_libdir}/pg_hint_plan.so
 %defattr(0644,root,root)
-%{_datadir}/extension/pg_hint_plan--1.3.6.sql
+%{_datadir}/extension/pg_hint_plan--1.3.7.sql
 %{_datadir}/extension/pg_hint_plan.control
 
 %files llvmjit
@@ -85,19 +85,5 @@ rm -rf %{buildroot}
 
 # History of pg_hint_plan.
 %changelog
-* Wed Aug 5 2020 Kyotaro Horiguchi
-- Fix some bugs. Version 1.3.6.
-* Thu Feb 20 2020 Kyotaro Horiguchi
-- Support PostgreSQL 12. Fix some bugs. Version 1.3.5.
-* Thu Jan 17 2019 Kyotaro Horiguchi
-- Fix some bugs. Version 1.3.4.
-* Tue Nov 13 2018 Kyotaro Horiguchi
-- Support PostgreSQL 11. Version 1.3.2.
-* Fri Jun 08 2018 Kyotaro Horiguchi
-- Fixed a crash bug. Version 1.3.1.
-* Tue Oct 10 2017 Kyotaro Horiguchi
-- Support PostgreSQL 10. Version 1.3.0.
-* Tue Feb 7 2017 Kyotaro Horiguchi
-- Added new hint Parallel. Version 1.2.0.
-* Thu Jul 21 2016 Kyotaro Horiguchi
-- Support PostgreSQL 9.6
+* Thu Oct 29 2020 Kyotaro Horiguchi
+- First release of pg_hint_plan13.
index 0a0535b..5fb4f3d 100755 (executable)
@@ -675,12 +675,12 @@ postgres=#
 </dl>
 
 <h2 id="requirement">動作環境</h2>
-pg_hint_plan11 1.3 は PostgreSQL 11 のみをサポートします。
+pg_hint_plan13 1.3 は PostgreSQL 13 のみをサポートします。
 <dl>
 <dt>PostgreSQL</dt>
-  <dd>バージョン 11</dd>
+  <dd>バージョン 13</dd>
 <dt>動作確認済みOS</dt>
-  <dd>CentOS 7.5</dd>
+  <dd>CentOS 8.2</dd>
 </dl>
 
 <h2 id="seealso">関連項目</h2>
index 4d2b297..8b2b6b0 100755 (executable)
@@ -483,12 +483,12 @@ from executed in parallel.</dd>
 <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>
 
 <h2 id="requirement">Requirements</h2>
-pg_hint_plan11 1.3 requires PostgreSQL 11.
+pg_hint_plan13 1.3 requires PostgreSQL 13.
 <dl>
 <dt>PostgreSQL versions tested</dt>
-  <dd>Version 11</dd>
+  <dd>Version 13</dd>
 <dt>OS versions tested</dt>
-  <dd>CentOS 7.5</dd>
+  <dd>CentOS 8.2</dd>
 </dl>
 
 <h2 id="seealso">See also</h2>
similarity index 93%
rename from pg_hint_plan--1.3.6.sql
rename to pg_hint_plan--1.3.7.sql
index 4a58bb4..bda3462 100644 (file)
@@ -1,4 +1,4 @@
-/* pg_hint_plan/pg_hint_plan--1.3.6.sql */
+/* pg_hint_plan/pg_hint_plan--1.3.7.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
 \echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit
index a39a070..ee3dbea 100644 (file)
@@ -1,6 +1,6 @@
 # pg_hint_plan extension
 
 comment = ''
-default_version = '1.3.6'
+default_version = '1.3.7'
 relocatable = false
 schema = hint_plan