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.
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
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
REGRESS_OPTS = --encoding=UTF8
EXTENSION = pg_hint_plan
REGRESS_OPTS = --encoding=UTF8
EXTENSION = pg_hint_plan
-DATA = pg_hint_plan--1.3.1.sql pg_hint_plan--1.3.0--1.3.1.sql
+DATA = pg_hint_plan--1.3.2.sql pg_hint_plan--1.3.0--1.3.1.sql \
+ pg_hint_plan--1.3.1--1.3.2.sql
EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS
EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS
## Set general information for pg_store_plans.
Summary: Optimizer hint on PostgreSQL 10
Name: pg_hint_plan10
## Set general information for pg_store_plans.
Summary: Optimizer hint on PostgreSQL 10
Name: pg_hint_plan10
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
install -d %{buildroot}%{_libdir}
install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
install -d %{buildroot}%{_datadir}/extension
install -d %{buildroot}%{_libdir}
install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
install -d %{buildroot}%{_datadir}/extension
-install -m 644 pg_hint_plan--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.1.sql
+install -m 644 pg_hint_plan--1.3.2.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.2.sql
install -m 644 pg_hint_plan--1.3.0--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.0--1.3.1.sql
install -m 644 pg_hint_plan--1.3.0--1.3.1.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.0--1.3.1.sql
+install -m 644 pg_hint_plan--1.3.1--1.3.2.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.3.1--1.3.2.sql
install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
%clean
install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
%clean
%defattr(0755,root,root)
%{_libdir}/pg_hint_plan.so
%defattr(0644,root,root)
%defattr(0755,root,root)
%{_libdir}/pg_hint_plan.so
%defattr(0644,root,root)
-%{_datadir}/extension/pg_hint_plan--1.3.1.sql
+%{_datadir}/extension/pg_hint_plan--1.3.2.sql
%{_datadir}/extension/pg_hint_plan--1.3.0--1.3.1.sql
%{_datadir}/extension/pg_hint_plan--1.3.0--1.3.1.sql
+%{_datadir}/extension/pg_hint_plan--1.3.1--1.3.2.sql
%{_datadir}/extension/pg_hint_plan.control
# History of pg_hint_plan.
%changelog
%{_datadir}/extension/pg_hint_plan.control
# History of pg_hint_plan.
%changelog
+* Tue Nov 13 2018 Kyotaro Horiguchi
+- Version 1.3.2.
* Tue Jun 08 2018 Kyotaro Horiguchi
- Fixed a crash bug.
* Tue Oct 10 2017 Kyotaro Horiguchi
* Tue Jun 08 2018 Kyotaro Horiguchi
- Fixed a crash bug.
* Tue Oct 10 2017 Kyotaro Horiguchi
--- /dev/null
+/* pg_hint_plan/pg_hint_plan--1.3.1--1.3.2.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
+
+-- nothing to do upgrading from 1.3.0/1.
-/* pg_hint_plan/pg_hint_plan--1.3.0.sql */
+/* pg_hint_plan/pg_hint_plan--1.3.2.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
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit
# pg_hint_plan extension
comment = ''
# pg_hint_plan extension
comment = ''
-default_version = '1.3.1'
+default_version = '1.3.2'
relocatable = false
schema = hint_plan
relocatable = false
schema = hint_plan