From 5a909ae1d08623a7294532c1600c3449aca7e9f2 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 | 8 ++++---- SPECS/pg_hint_plan94.spec | 12 ++++++++---- pg_hint_plan--1.1.5--1.1.6.sql | 2 ++ 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 | 2 +- pg_hint_plan.control | 2 +- 7 files changed, 23 insertions(+), 11 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 (92%) diff --git a/COPYRIGHT.postgresql b/COPYRIGHT.postgresql index e233796..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-2014, 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 a0a1495..7601efa 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,9 +14,9 @@ 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 \ - pg_hint_plan--1.1.2--1.1.3.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 pg_hint_plan--1.1.2--1.1.3.sql EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out diff --git a/SPECS/pg_hint_plan94.spec b/SPECS/pg_hint_plan94.spec index 3883718..5e14198 100644 --- a/SPECS/pg_hint_plan94.spec +++ b/SPECS/pg_hint_plan94.spec @@ -13,7 +13,7 @@ ## Set general information for pg_hint_plan. Summary: Optimizer hint for PostgreSQL 9.4 Name: pg_hint_plan94 -Version: 1.1.6 +Version: 1.1.7 Release: 1%{?dist} License: BSD Group: Applications/Databases @@ -64,7 +64,8 @@ install -m 644 pg_hint_plan--1.1.2--1.1.3.sql %{buildroot}%{_datadir}/extension/ 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 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.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.6.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.6.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.7.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.7.sql install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control %clean @@ -78,12 +79,15 @@ rm -rf %{buildroot} %{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql %{_datadir}/extension/pg_hint_plan--1.1.4--1.1.5.sql %{_datadir}/extension/pg_hint_plan--1.1.5--1.1.6.sql -%{_datadir}/extension/pg_hint_plan--1.1.6.sql +%{_datadir}/extension/pg_hint_plan--1.1.6--1.1.7.sql +%{_datadir}/extension/pg_hint_plan--1.1.7.sql %{_datadir}/extension/pg_hint_plan.control # History of pg_hint_plan. %changelog -* Thu Jun 08 2018 Kyotaro Horiguchi +* 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 - Fixed a crash bug. 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 afa2565..bad061f 100644 --- a/pg_hint_plan--1.1.5--1.1.6.sql +++ b/pg_hint_plan--1.1.5--1.1.6.sql @@ -2,3 +2,5 @@ -- complain if script is sourced in psql, rather than via CREATE EXTENSION \echo Use "ALTER EXTENSION pg_hint_plan UPDATE" to load this file. \quit + +-- 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..e3c700b --- /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 "ALTER EXTENSION pg_hint_plan UPDATE" 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 92% rename from pg_hint_plan--1.1.6.sql rename to pg_hint_plan--1.1.7.sql index 23f9adc..464d53b 100644 --- a/pg_hint_plan--1.1.6.sql +++ b/pg_hint_plan--1.1.7.sql @@ -1,4 +1,4 @@ -/* pg_hint_plan/pg_hint_plan--1.1.6.sql */ +/* pg_hint_plan/pg_hint_plan--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 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