From 9e354ac713b355dd2400ccde7b47ecbe91c86f69 Mon Sep 17 00:00:00 2001 From: Kyotaro Horiguchi Date: Tue, 13 Nov 2018 16:33:08 +0900 Subject: [PATCH] Changed version to 1.1.7 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. --- COPYRIGHT.postgresql | 2 +- Makefile | 7 +++++-- SPECS/pg_hint_plan95.spec | 10 +++++++--- pg_hint_plan--1.1.5--1.1.6.sql | 4 ++-- pg_hint_plan--1.1.6--1.1.7.sql | 6 ++++++ pg_hint_plan--1.1.6.sql => pg_hint_plan--1.1.7.sql | 0 pg_hint_plan.control | 2 +- 7 files changed, 22 insertions(+), 9 deletions(-) create mode 100644 pg_hint_plan--1.1.6--1.1.7.sql rename pg_hint_plan--1.1.6.sql => pg_hint_plan--1.1.7.sql (100%) diff --git a/COPYRIGHT.postgresql b/COPYRIGHT.postgresql index d8cde9a..e23bc1d 100644 --- a/COPYRIGHT.postgresql +++ b/COPYRIGHT.postgresql @@ -2,7 +2,7 @@ core.c and make_join_rel.c are parts of PostgreSQL Database Management System. (formerly known as Postgres, then as Postgres95) Copyright holders of those files are following organizations: -Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group +Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group Portions Copyright (c) 1994, The Regents of the University of California diff --git a/Makefile b/Makefile index 5f0f7f7..31cb794 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # MODULES = pg_hint_plan -HINTPLANVER = 1.1.6 +HINTPLANVER = 1.1.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-T ut-fini @@ -14,7 +14,10 @@ REGRESSION_EXPECTED = expected/init.out expected/base_plan.out expected/pg_hint_ REGRESS_OPTS = --encoding=UTF8 EXTENSION = pg_hint_plan -DATA = pg_hint_plan--1.1.6.sql pg_hint_plan--1.1.5--1.1.6.sql pg_hint_plan--1.1.4--1.1.5.sql pg_hint_plan--1.1.3--1.1.4.sql + +DATA = pg_hint_plan--1.1.7.sql pg_hint_plan--1.1.6--1.1.7.sql \ + pg_hint_plan--1.1.5--1.1.6.sql pg_hint_plan--1.1.4--1.1.5.sql \ + pg_hint_plan--1.1.3--1.1.4.sql EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out diff --git a/SPECS/pg_hint_plan95.spec b/SPECS/pg_hint_plan95.spec index e4ce7c3..07557eb 100644 --- a/SPECS/pg_hint_plan95.spec +++ b/SPECS/pg_hint_plan95.spec @@ -13,7 +13,7 @@ ## Set general information for pg_store_plans. Summary: Optimizer hint on PostgreSQL 9.5 Name: pg_hint_plan95 -Version: 1.1.6 +Version: 1.1.7 Release: 1%{?dist} License: BSD Group: Applications/Databases @@ -56,7 +56,8 @@ rm -rf %{buildroot} 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.1.6.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.6.sql +install -m 644 pg_hint_plan--1.1.7.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.7.sql +install -m 644 pg_hint_plan--1.1.6--1.1.7.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.6--1.1.7.sql install -m 644 pg_hint_plan--1.1.5--1.1.6.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.5--1.1.6.sql install -m 644 pg_hint_plan--1.1.4--1.1.5.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.4--1.1.5.sql install -m 644 pg_hint_plan--1.1.3--1.1.4.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql @@ -69,7 +70,8 @@ rm -rf %{buildroot} %defattr(0755,root,root) %{_libdir}/pg_hint_plan.so %defattr(0644,root,root) -%{_datadir}/extension/pg_hint_plan--1.1.6.sql +%{_datadir}/extension/pg_hint_plan--1.1.7.sql +%{_datadir}/extension/pg_hint_plan--1.1.6--1.1.7.sql %{_datadir}/extension/pg_hint_plan--1.1.5--1.1.6.sql %{_datadir}/extension/pg_hint_plan--1.1.4--1.1.5.sql %{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql @@ -77,6 +79,8 @@ rm -rf %{buildroot} # History of pg_hint_plan. %changelog +* Tue Nov 13 2018 Kyotaro Horiguchi +- Improvement of debug message emission. * Fri Jun 08 2018 Kyotaro Horiguchi - Fixed a crash bug. * Thu Jul 27 2017 Kyotaro Horiguchi diff --git a/pg_hint_plan--1.1.5--1.1.6.sql b/pg_hint_plan--1.1.5--1.1.6.sql index ffeeca7..1217867 100644 --- a/pg_hint_plan--1.1.5--1.1.6.sql +++ b/pg_hint_plan--1.1.5--1.1.6.sql @@ -1,6 +1,6 @@ -/* pg_hint_plan/pg_hint_plan--1.1.4--1.1.5.sql */ +/* pg_hint_plan/pg_hint_plan--1.1.5--1.1.6.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 from 1.1.4 +-- Nothing to do from 1.1.5 diff --git a/pg_hint_plan--1.1.6--1.1.7.sql b/pg_hint_plan--1.1.6--1.1.7.sql new file mode 100644 index 0000000..14f9c5a --- /dev/null +++ b/pg_hint_plan--1.1.6--1.1.7.sql @@ -0,0 +1,6 @@ +/* pg_hint_plan/pg_hint_plan--1.1.6--1.1.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 + +-- Nothing to do from 1.1.6 diff --git a/pg_hint_plan--1.1.6.sql b/pg_hint_plan--1.1.7.sql similarity index 100% rename from pg_hint_plan--1.1.6.sql rename to pg_hint_plan--1.1.7.sql diff --git a/pg_hint_plan.control b/pg_hint_plan.control index 067bc41..b9501ac 100644 --- a/pg_hint_plan.control +++ b/pg_hint_plan.control @@ -1,6 +1,6 @@ # pg_hint_plan extension comment = '' -default_version = '1.1.6' +default_version = '1.1.7' relocatable = false schema = hint_plan -- 2.11.0