Skip to content

Commit

Permalink
Version 1.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpq committed Jan 20, 2023
1 parent 9835ac8 commit be6d363
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

MODULES = pg_hint_plan
HINTPLANVER = 1.3.7
HINTPLANVER = 1.3.8

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 plpgsql oldextversions
Expand All @@ -20,7 +20,8 @@ DATA = \
pg_hint_plan--1.3.3--1.3.4.sql \
pg_hint_plan--1.3.5--1.3.6.sql \
pg_hint_plan--1.3.4--1.3.5.sql \
pg_hint_plan--1.3.6--1.3.7.sql
pg_hint_plan--1.3.6--1.3.7.sql \
pg_hint_plan--1.3.7--1.3.8.sql

EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS

Expand Down
7 changes: 5 additions & 2 deletions SPECS/pg_hint_plan11.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## Set general information for pg_hint_plan.
Summary: Optimizer hint on PostgreSQL 11
Name: pg_hint_plan11
Version: 1.3.7
Version: 1.3.8
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Expand All @@ -39,7 +39,7 @@ Note that this package is available for only PostgreSQL 11.

%package llvmjit
Requires: postgresql11-server, postgresql11-llvmjit
Requires: pg_hint_plan11 = 1.3.7
Requires: pg_hint_plan11 = 1.3.8
Summary: Just-in-time compilation support for pg_hint_plan11

%description llvmjit
Expand Down Expand Up @@ -81,6 +81,7 @@ rm -rf %{buildroot}
%{_datadir}/extension/pg_hint_plan--1.3.4--1.3.5.sql
%{_datadir}/extension/pg_hint_plan--1.3.5--1.3.6.sql
%{_datadir}/extension/pg_hint_plan--1.3.6--1.3.7.sql
%{_datadir}/extension/pg_hint_plan--1.3.7--1.3.8.sql
%{_datadir}/extension/pg_hint_plan.control

%files llvmjit
Expand All @@ -92,6 +93,8 @@ rm -rf %{buildroot}

# History of pg_hint_plan.
%changelog
* Fri Jan 20 2023 Michael Paquier
- Version 1.3.8.
* Thu Oct 29 2020 Kyotaro Horiguchi
- Fix a bug. Version 1.3.7.
* Wed Aug 5 2020 Kyotaro Horiguchi
Expand Down
9 changes: 9 additions & 0 deletions expected/oldextversions.out
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,13 @@ Objects in extension "pg_hint_plan"
table hint_plan.hints
(2 rows)

ALTER EXTENSION pg_hint_plan UPDATE TO "1.3.8";
\dx+ pg_hint_plan
Objects in extension "pg_hint_plan"
Object description
---------------------------------
sequence hint_plan.hints_id_seq
table hint_plan.hints
(2 rows)

DROP EXTENSION pg_hint_plan;
10 changes: 10 additions & 0 deletions pg_hint_plan--1.3.7--1.3.8.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* pg_hint_plan/pg_hint_plan--1.3.7--1.3.8.sql */

-- complain if script is sourced in psql, rather than via ALTER EXTENSION
\echo Use "ALTER EXTENSION pg_dbms_stats UPDATE TO '1.3.8'" to load this file. \quit

SELECT pg_catalog.pg_extension_config_dump('hint_plan.hints','');
SELECT pg_catalog.pg_extension_config_dump('hint_plan.hints_id_seq','');

GRANT SELECT ON hint_plan.hints TO PUBLIC;
GRANT USAGE ON SCHEMA hint_plan TO PUBLIC;
2 changes: 1 addition & 1 deletion pg_hint_plan.control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pg_hint_plan extension

comment = ''
default_version = '1.3.7'
default_version = '1.3.8'
relocatable = false
schema = hint_plan
2 changes: 2 additions & 0 deletions sql/oldextversions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ ALTER EXTENSION pg_hint_plan UPDATE TO "1.3.6";
\dx+ pg_hint_plan
ALTER EXTENSION pg_hint_plan UPDATE TO "1.3.7";
\dx+ pg_hint_plan
ALTER EXTENSION pg_hint_plan UPDATE TO "1.3.8";
\dx+ pg_hint_plan
DROP EXTENSION pg_hint_plan;

0 comments on commit be6d363

Please sign in to comment.